SDL: bugfix: cursor is hidden in fullscreen
This commit is contained in:
parent
a4909906f5
commit
d7778a67cf
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue