Skip to content

Commit

Permalink
Delete windata variable no longer needed in KMSDR_SetDisplayMode().
Browse files Browse the repository at this point in the history
  • Loading branch information
vanfanel committed Jul 19, 2020
1 parent 3a1d7d9 commit 2f660c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/kmsdrm/SDL_kmsdrmvideo.c
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2f660c4

Please sign in to comment.