src/video/directfb/SDL_DirectFB_opengl.h
changeset 5199 164f20ba08eb
parent 4636 b196d2758026
child 5262 b530ef003506
     1.1 --- a/src/video/directfb/SDL_DirectFB_opengl.h	Sat Feb 05 16:02:30 2011 -0800
     1.2 +++ b/src/video/directfb/SDL_DirectFB_opengl.h	Sat Feb 05 16:07:10 2011 -0800
     1.3 @@ -18,23 +18,29 @@
     1.4  
     1.5      Sam Lantinga
     1.6      slouken@libsdl.org
     1.7 +
     1.8 +    SDL1.3 DirectFB driver by couriersud@arcor.de
     1.9 +	
    1.10  */
    1.11 -#include "SDL_config.h"
    1.12 +
    1.13  
    1.14  #ifndef _SDL_directfb_opengl_h
    1.15  #define _SDL_directfb_opengl_h
    1.16  
    1.17 +#include "SDL_DirectFB_video.h"
    1.18 +
    1.19  #if SDL_DIRECTFB_OPENGL
    1.20 +
    1.21  #include "SDL_opengl.h"
    1.22  
    1.23  typedef struct _DirectFB_GLContext DirectFB_GLContext;
    1.24  struct _DirectFB_GLContext
    1.25  {
    1.26 -    IDirectFBGL *context;
    1.27 -    DirectFB_GLContext *next;
    1.28 +    IDirectFBGL 		*context;
    1.29 +    DirectFB_GLContext 	*next;
    1.30      
    1.31 -    SDL_Window *sdl_window;
    1.32 -    int is_locked;
    1.33 +    SDL_Window 			*sdl_window;
    1.34 +    int 				is_locked;
    1.35  };
    1.36  
    1.37  /* OpenGL functions */