The refresh rate in SDL_DisplayMode is now a float
This commit is contained in:
parent
851b0e16be
commit
e3c1749f5b
32 changed files with 107 additions and 83 deletions
|
@ -130,7 +130,7 @@ int Emscripten_VideoInit(_THIS)
|
|||
mode.format = SDL_PIXELFORMAT_RGB888;
|
||||
emscripten_get_screen_size(&mode.w, &mode.h);
|
||||
|
||||
mode.refresh_rate = 0;
|
||||
mode.refresh_rate = 0.0f;
|
||||
mode.driverdata = NULL;
|
||||
if (SDL_AddBasicVideoDisplay(&mode) < 0) {
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue