mirror of https://github.com/encounter/SDL.git
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++) {
|
for (int i = 0; i < viddata->num_windows; i++) {
|
||||||
SDL_Window *window = viddata->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. */
|
/* Re-create GBM and EGL surfaces everytime we change the display mode. */
|
||||||
if (KMSDRM_CreateSurfaces(_this, window)) {
|
if (KMSDRM_CreateSurfaces(_this, window)) {
|
||||||
|
|
Loading…
Reference in New Issue