diff src/render/SDL_sysrender.h @ 5204:523409574510

Added an OpenGL ES 2.0 renderer, contributed by itsnotabigtruck This compiles, but it untested.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 06 Feb 2011 00:00:13 -0800
parents 164f20ba08eb
children 115fff0641ee
line wrap: on
line diff
--- a/src/render/SDL_sysrender.h	Sat Feb 05 20:02:37 2011 -0800
+++ b/src/render/SDL_sysrender.h	Sun Feb 06 00:00:13 2011 -0800
@@ -125,7 +125,10 @@
 extern SDL_RenderDriver GL_RenderDriver;
 #endif
 #if SDL_VIDEO_RENDER_OGL_ES
-extern SDL_RenderDriver GL_ES_RenderDriver;
+extern SDL_RenderDriver GLES_RenderDriver;
+#endif
+#if SDL_VIDEO_RENDER_OGL_ES2
+extern SDL_RenderDriver GLES2_RenderDriver;
 #endif
 #if SDL_VIDEO_RENDER_DIRECTFB
 extern SDL_RenderDriver DirectFB_RenderDriver;