src/video/kmsdrm/SDL_kmsdrmvideo.c
changeset 12376 cfc65d4d49ae
parent 12310 18f3294b230e
child 12440 2b450a35f471
     1.1 --- a/src/video/kmsdrm/SDL_kmsdrmvideo.c	Wed Oct 31 15:01:20 2018 -0700
     1.2 +++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c	Wed Oct 31 15:16:51 2018 -0700
     1.3 @@ -587,6 +587,7 @@
     1.4              goto error;
     1.5          }
     1.6      }
     1.7 +    SDL_EGL_SetRequiredVisualId(_this, surface_fmt);
     1.8      wdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) wdata->gs);
     1.9  
    1.10      if (wdata->egl_surface == EGL_NO_SURFACE) {