Delete windata variable no longer needed in KMSDR_SetDisplayMode().

This commit is contained in:
Manuel Alfayate Corchete 2020-07-19 19:11:02 +02:00
parent 3a1d7d9c9a
commit 2f660c4fdd
1 changed files with 0 additions and 1 deletions

View File

@ -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)) {