mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-31 00:09:19 +01:00
Emscripten: don't zero the display mode before adding it
This commit is contained in:
parent
4a2888af10
commit
d60546aaa8
@ -156,7 +156,6 @@ Emscripten_VideoInit(_THIS)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_zero(mode);
|
|
||||||
SDL_AddDisplayMode(&_this->displays[0], &mode);
|
SDL_AddDisplayMode(&_this->displays[0], &mode);
|
||||||
|
|
||||||
Emscripten_InitMouse();
|
Emscripten_InitMouse();
|
||||||
|
Loading…
Reference in New Issue
Block a user