Emscripten: don't zero the display mode before adding it
authorCharlie Birks <charlie@daftgames.net>
Tue, 29 Jan 2019 12:19:06 +0000
changeset 1257732d2fe2bc966
parent 12576 8d61748ac590
child 12578 b127ca09e7fe
Emscripten: don't zero the display mode before adding it
src/video/emscripten/SDL_emscriptenvideo.c
     1.1 --- a/src/video/emscripten/SDL_emscriptenvideo.c	Tue Jan 29 12:19:03 2019 +0000
     1.2 +++ b/src/video/emscripten/SDL_emscriptenvideo.c	Tue Jan 29 12:19:06 2019 +0000
     1.3 @@ -156,7 +156,6 @@
     1.4          return -1;
     1.5      }
     1.6  
     1.7 -    SDL_zero(mode);
     1.8      SDL_AddDisplayMode(&_this->displays[0], &mode);
     1.9  
    1.10      Emscripten_InitMouse();