mirror of https://github.com/encounter/SDL.git
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