summaryrefslogtreecommitdiff
path: root/lib/base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.cc')
-rw-r--r--lib/base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.cc b/lib/base.cc
index 310dde3..8c1c862 100644
--- a/lib/base.cc
+++ b/lib/base.cc
@@ -28,7 +28,7 @@ mogltk::base::base(int w, int h, int flags) throw(GeneralException) : surface(0)
printm(M_INFO, "Video resolution: %dx%dx%d (ratio = %3.2f)\n", surface->w, surface->h, surface->format->BitsPerPixel, ratio);
- SDL_ShowCursor(0);
+ SDL_ShowCursor(SDL_DISABLE);
SDL_FillRect(surface, NULL, 0);
SDL_Flip(surface);
SDL_FillRect(surface, NULL, 0);
@@ -57,7 +57,7 @@ mogltk::base::base(int w, int h, int flags, int) : surface(0) {
width = w;
height = h;
- SDL_ShowCursor(0);
+ SDL_ShowCursor(SDL_DISABLE);
}
void mogltk::base::setsurface(SDL_Surface * _surface) throw (GeneralException) {