Emscripten: don't zero the display mode before adding it
parent
4a2888af10
commit
d60546aaa8
|
@ -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