I’ve got an SDL+OpenGL application that runs fine on Win XP (the dev
environment). However, when I run it on a Win 98 box, I get a strange issue
with the mouse.
The basic startup is like this:
input startup (keyboard, joystick)
sound startup (Mix_OpenAudio, etc)
SDL_SetVideoMode(w,h,color_depth, SDL_OPENGL | SDL_FULLSCREEN)
bunch of gl commands (glClearColor, glClearDepth, glDepthFunc, glHint,
glBlendFunc, glCullFace, glFrontFace, glClear)
When the app starts up, for a brief moment, the black-with-white outline mouse
displays (presumably during the SDL_SetVideoMode, the gl commands, then the
But then, after a few minutes, the Win 98 standard mouse cursor (white, most
times appearing initially with an hourglass next to it, then back to a normal
white cursor) appears in the middle of the screen. Presumably some system event
happens in the background causing the cursor to appear.
I did a fresh install of Win98SE (no windows updates, straight out of the box)
and the issue still occurs. Tried using the cursor commands to move it out of
the way but the SDL commands appear to have no effect on it after it appears.
However, moving the mouse physically causes it to disappear (only to have it
show up again a few minutes later).
Anyone else had an experience like this with SDL / OpenGL? As I mentioned
before, the app works perfectly in Win XP. I’m running SDL-1.2.11.
Unfortunately, the hardware the app is running on doesn’t support Win XP,
otherwise that would be the obvious solution.
Thanks for any suggestions!