mirror of
https://github.com/yawut/SDL.git
synced 2026-07-11 14:14:03 -05:00
Emscripten: don't zero the display mode before adding it
This commit is contained in:
parent
ca69e9923c
commit
4e6cd08732
|
|
@ -156,7 +156,6 @@ Emscripten_VideoInit(_THIS)
|
|||
return -1;
|
||||
}
|
||||
|
||||
SDL_zero(mode);
|
||||
SDL_AddDisplayMode(&_this->displays[0], &mode);
|
||||
|
||||
Emscripten_InitMouse();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user