src/render/opengles/SDL_renderer_gles.c
changeset 5161 1bd1e62e648d
parent 5156 307ccc9c135e
child 5166 4d39eeaad00b
equal deleted inserted replaced
5160:53eaa01ab100 5161:1bd1e62e648d
    95     SDL_bool useDrawTexture;
    95     SDL_bool useDrawTexture;
    96     SDL_bool GL_OES_draw_texture_supported;
    96     SDL_bool GL_OES_draw_texture_supported;
    97 
    97 
    98     /* OpenGL ES functions */
    98     /* OpenGL ES functions */
    99 #define SDL_PROC(ret,func,params) ret (APIENTRY *func) params;
    99 #define SDL_PROC(ret,func,params) ret (APIENTRY *func) params;
   100 #include "SDL_glesfuncs.h"
   100 #include "../../video/SDL_glesfuncs.h"
   101 #undef SDL_PROC
   101 #undef SDL_PROC
   102 
   102 
   103 } GLES_RenderData;
   103 } GLES_RenderData;
   104 
   104 
   105 typedef struct
   105 typedef struct
   152 GLES_LoadFunctions(GLES_RenderData * data)
   152 GLES_LoadFunctions(GLES_RenderData * data)
   153 {
   153 {
   154 
   154 
   155 #define SDL_PROC(ret,func,params) \
   155 #define SDL_PROC(ret,func,params) \
   156     data->func = func;
   156     data->func = func;
   157 #include "SDL_glesfuncs.h"
   157 #include "../../video/SDL_glesfuncs.h"
   158 #undef SDL_PROC
   158 #undef SDL_PROC
   159 
   159 
   160     return 0;
   160     return 0;
   161 }
   161 }
   162 
   162