Emscripten: don't zero the display mode before adding it

This commit is contained in:
Charlie Birks 2019-01-29 12:19:06 +00:00
parent 4a2888af10
commit d60546aaa8
1 changed files with 0 additions and 1 deletions

View File

@ -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();