src/video/x11/SDL_x11opengles.c
changeset 9156 f68bd6205580
parent 8149 681eb46b8ac4
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9155:dfeb88fc5a9d 9156:f68bd6205580
    27 #include "SDL_x11opengl.h"
    27 #include "SDL_x11opengl.h"
    28 
    28 
    29 /* EGL implementation of SDL OpenGL support */
    29 /* EGL implementation of SDL OpenGL support */
    30 
    30 
    31 int
    31 int
    32 X11_GLES_LoadLibrary(_THIS, const char *path) {
    32 X11_GLES_LoadLibrary(_THIS, const char *path)
    33         
    33 {
    34     SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
    34     SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
    35 
    35 
    36     /* If the profile requested is not GL ES, switch over to X11_GL functions  */
    36     /* If the profile requested is not GL ES, switch over to X11_GL functions  */
    37     if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) {
    37     if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) {
    38         #if SDL_VIDEO_OPENGL_GLX
    38         #if SDL_VIDEO_OPENGL_GLX