mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
Delete windata variable no longer needed in KMSDR_SetDisplayMode().
This commit is contained in:
@@ -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)) {
|
||||||
|
Reference in New Issue
Block a user