Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
c9ff9049
Commit
c9ff9049
authored
3 years ago
by
SteelT
Browse files
Options
Downloads
Plain Diff
Merge branch 'remove-unused-function' into 'next'
Remove unused I_GetMouseGrab function See merge request
!1628
parents
923e6f31
0f4074f2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1628
Remove unused I_GetMouseGrab function
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/i_system.h
+0
-4
0 additions, 4 deletions
src/i_system.h
src/sdl/i_video.c
+0
-5
0 additions, 5 deletions
src/sdl/i_video.c
with
0 additions
and
9 deletions
src/i_system.h
+
0
−
4
View file @
c9ff9049
...
...
@@ -318,10 +318,6 @@ void I_RegisterSysCommands(void);
*/
void
I_GetCursorPosition
(
INT32
*
x
,
INT32
*
y
);
/** \brief Returns whether the mouse is grabbed
*/
boolean
I_GetMouseGrab
(
void
);
/** \brief Sets whether the mouse is grabbed
*/
void
I_SetMouseGrab
(
boolean
grab
);
...
...
This diff is collapsed.
Click to expand it.
src/sdl/i_video.c
+
0
−
5
View file @
c9ff9049
...
...
@@ -409,11 +409,6 @@ void I_UpdateMouseGrab(void)
SDLdoGrabMouse
();
}
boolean
I_GetMouseGrab
(
void
)
{
return
(
boolean
)
SDL_GetWindowGrab
(
window
);
}
void
I_SetMouseGrab
(
boolean
grab
)
{
if
(
grab
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment