Mercurial > sdl-ios-xcode
comparison src/render/opengles2/SDL_shaders_gles2.c @ 5207:daa5463466c5
Fixed building on Android, added SDL_opengles2.h, removed unnecessary SDL_glesfuncs.h
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 06 Feb 2011 02:35:14 -0800 |
parents | 523409574510 |
children | 710d00cb3a6a |
comparison
equal
deleted
inserted
replaced
5206:25ffd4e5255c | 5207:daa5463466c5 |
---|---|
23 | 23 |
24 #include "SDL_config.h" | 24 #include "SDL_config.h" |
25 | 25 |
26 #if SDL_VIDEO_RENDER_OGL_ES2 | 26 #if SDL_VIDEO_RENDER_OGL_ES2 |
27 | 27 |
28 #ifdef __IPHONEOS__ | |
29 #include <OpenGLES/ES2/gl.h> | |
30 #include <OpenGLES/ES2/glext.h> | |
31 #else | |
32 #include <GLES2/gl2.h> | |
33 #include <GLES2/gl2ext.h> | |
34 #endif | |
35 #include "SDL_video.h" | 28 #include "SDL_video.h" |
29 #include "SDL_opengles2.h" | |
36 #include "SDL_shaders_gles2.h" | 30 #include "SDL_shaders_gles2.h" |
37 #include "SDL_stdinc.h" | 31 #include "SDL_stdinc.h" |
38 | 32 |
39 /************************************************************************************************* | 33 /************************************************************************************************* |
40 * Vertex/fragment shader source * | 34 * Vertex/fragment shader source * |