src/video/raspberry/SDL_rpiopengles.h
changeset 11382 2c50e79b19e0
parent 10737 3406a0f8b041
child 11444 38f181f81476
equal deleted inserted replaced
11381:2610f8f0a9c6 11382:2c50e79b19e0
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "../../SDL_internal.h"
    21 #include "../../SDL_internal.h"
    22 
    22 
    23 #ifndef _SDL_rpiopengles_h
    23 #ifndef SDL_rpiopengles_h_
    24 #define _SDL_rpiopengles_h
    24 #define SDL_rpiopengles_h_
    25 
    25 
    26 #if SDL_VIDEO_DRIVER_RPI && SDL_VIDEO_OPENGL_EGL
    26 #if SDL_VIDEO_DRIVER_RPI && SDL_VIDEO_OPENGL_EGL
    27 
    27 
    28 #include "../SDL_sysvideo.h"
    28 #include "../SDL_sysvideo.h"
    29 #include "../SDL_egl_c.h"
    29 #include "../SDL_egl_c.h"
    41 extern int RPI_GLES_SwapWindow(_THIS, SDL_Window * window);
    41 extern int RPI_GLES_SwapWindow(_THIS, SDL_Window * window);
    42 extern int RPI_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
    42 extern int RPI_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
    43 
    43 
    44 #endif /* SDL_VIDEO_DRIVER_RPI && SDL_VIDEO_OPENGL_EGL */
    44 #endif /* SDL_VIDEO_DRIVER_RPI && SDL_VIDEO_OPENGL_EGL */
    45 
    45 
    46 #endif /* _SDL_rpiopengles_h */
    46 #endif /* SDL_rpiopengles_h_ */
    47 
    47 
    48 /* vi: set ts=4 sw=4 expandtab: */
    48 /* vi: set ts=4 sw=4 expandtab: */