src/video/directfb/SDL_DirectFB_opengl.c
changeset 10690 23a825f341e6
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
     1.1 --- a/src/video/directfb/SDL_DirectFB_opengl.c	Fri Dec 09 01:29:52 2016 -0800
     1.2 +++ b/src/video/directfb/SDL_DirectFB_opengl.c	Fri Dec 09 01:47:43 2016 -0800
     1.3 @@ -246,7 +246,7 @@
     1.4      return 0;
     1.5  }
     1.6  
     1.7 -void
     1.8 +int
     1.9  DirectFB_GL_SwapWindow(_THIS, SDL_Window * window)
    1.10  {
    1.11      SDL_DFB_WINDOWDATA(window);
    1.12 @@ -273,9 +273,9 @@
    1.13          }
    1.14  
    1.15      SDL_DFB_CHECKERR(windata->window_surface->Flip(windata->window_surface,NULL,  DSFLIP_PIPELINE |DSFLIP_BLIT | DSFLIP_ONSYNC ));
    1.16 -    return;
    1.17 +    return 0;
    1.18    error:
    1.19 -    return;
    1.20 +    return -1;
    1.21  }
    1.22  
    1.23  void