mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-02-17 20:34:28 +01:00
Delete windata variable no longer needed in KMSDR_SetDisplayMode().
This commit is contained in:
parent
3a1d7d9c9a
commit
2f660c4fdd
@ -756,7 +756,6 @@ KMSDRM_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode)
|
||||
|
||||
for (int i = 0; i < viddata->num_windows; i++) {
|
||||
SDL_Window *window = viddata->windows[i];
|
||||
SDL_WindowData *windata = (SDL_WindowData *)window->driverdata;
|
||||
|
||||
/* Re-create GBM and EGL surfaces everytime we change the display mode. */
|
||||
if (KMSDRM_CreateSurfaces(_this, window)) {
|
||||
|
Loading…
Reference in New Issue
Block a user