summaryrefslogtreecommitdiff
path: root/src/i_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_video.c')
-rw-r--r--src/i_video.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/i_video.c b/src/i_video.c
index 959a1472..6b850941 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -381,7 +381,7 @@ static void UpdateFocus(void)
// Show or hide the mouse cursor. We have to use different techniques
// depending on the OS.
-static void ShowCursor(boolean show)
+static void SetShowCursor(boolean show)
{
// On Windows, using SDL_ShowCursor() adds lag to the mouse input,
// so work around this by setting an invisible cursor instead. On
@@ -563,7 +563,7 @@ void I_ShutdownGraphics(void)
{
if (initialized)
{
- ShowCursor(true);
+ SetShowCursor(true);
SDL_QuitSubSystem(SDL_INIT_VIDEO);
@@ -924,15 +924,15 @@ static void UpdateGrab(void)
{
// Hide the cursor in screensaver mode
- ShowCursor(false);
+ SetShowCursor(false);
}
else if (grab && !currently_grabbed)
{
- ShowCursor(false);
+ SetShowCursor(false);
}
else if (!grab && currently_grabbed)
{
- ShowCursor(true);
+ SetShowCursor(true);
}
currently_grabbed = grab;