src/video/kmsdrm/SDL_kmsdrmvideo.c
changeset 13555 936b1869a34a
parent 13524 9761858bd6a3
child 13577 d28975f16368
     1.1 --- a/src/video/kmsdrm/SDL_kmsdrmvideo.c	Thu Feb 27 08:18:20 2020 -0800
     1.2 +++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c	Thu Feb 27 08:20:34 2020 -0800
     1.3 @@ -349,10 +349,9 @@
     1.4  /* SDL Video and Display initialization/handling functions                   */
     1.5  /* _this is a SDL_VideoDevice *                                              */
     1.6  /*****************************************************************************/
     1.7 -static int
     1.8 +static void
     1.9  KMSDRM_DestroySurfaces(_THIS, SDL_Window * window)
    1.10  {
    1.11 -    SDL_VideoData *viddata = ((SDL_VideoData *)_this->driverdata);
    1.12      SDL_WindowData *windata = (SDL_WindowData *)window->driverdata;
    1.13  
    1.14      KMSDRM_WaitPageFlip(_this, windata, -1);