src/video/kmsdrm/SDL_kmsdrmvideo.c
changeset 13555 936b1869a34a
parent 13524 9761858bd6a3
child 13577 d28975f16368
equal deleted inserted replaced
13554:4518dbd47100 13555:936b1869a34a
   347 
   347 
   348 /*****************************************************************************/
   348 /*****************************************************************************/
   349 /* SDL Video and Display initialization/handling functions                   */
   349 /* SDL Video and Display initialization/handling functions                   */
   350 /* _this is a SDL_VideoDevice *                                              */
   350 /* _this is a SDL_VideoDevice *                                              */
   351 /*****************************************************************************/
   351 /*****************************************************************************/
   352 static int
   352 static void
   353 KMSDRM_DestroySurfaces(_THIS, SDL_Window * window)
   353 KMSDRM_DestroySurfaces(_THIS, SDL_Window * window)
   354 {
   354 {
   355     SDL_VideoData *viddata = ((SDL_VideoData *)_this->driverdata);
       
   356     SDL_WindowData *windata = (SDL_WindowData *)window->driverdata;
   355     SDL_WindowData *windata = (SDL_WindowData *)window->driverdata;
   357 
   356 
   358     KMSDRM_WaitPageFlip(_this, windata, -1);
   357     KMSDRM_WaitPageFlip(_this, windata, -1);
   359 
   358 
   360     if (windata->curr_bo) {
   359     if (windata->curr_bo) {