SDL: bugfix: cursor is hidden in fullscreen

This commit is contained in:
punkrockguy318 2010-02-18 22:42:59 +00:00
parent a4909906f5
commit d7778a67cf
1 changed files with 4 additions and 0 deletions

View File

@ -194,7 +194,11 @@ InitVideo(FCEUGI *gi)
// check if we are rendering fullscreen // check if we are rendering fullscreen
if(s_fullscreen) { if(s_fullscreen) {
flags |= SDL_FULLSCREEN; flags |= SDL_FULLSCREEN;
SDL_ShowCursor(0);
} }
else {
SDL_ShowCursor(1);
}
if(noframe) { if(noframe) {
flags |= SDL_NOFRAME; flags |= SDL_NOFRAME;