Mercurial > sdl-ios-xcode
comparison src/render/opengles/SDL_renderer_gles.c @ 5164:1bd1e62e648d
Fixed building for Android
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 03 Feb 2011 01:30:28 -0800 |
parents | 307ccc9c135e |
children | 4d39eeaad00b |
comparison
equal
deleted
inserted
replaced
5163:53eaa01ab100 | 5164: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 |