comparison src/video/SDL_renderer_gles.c @ 3520:83518f8fcd61

Fixed calls to SDL_AddRenderDriver()
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Dec 2009 08:45:08 +0000
parents fe2f10481878
children 0267b8b1595c
comparison
equal deleted inserted replaced
3519:1374f9275de9 3520:83518f8fcd61
198 #undef SDL_PROC 198 #undef SDL_PROC
199 199
200 return 0; 200 return 0;
201 } 201 }
202 202
203 void
204 GLES_AddRenderDriver(_THIS)
205 {
206 if (_this->GL_CreateContext) {
207 SDL_AddRenderDriver(0, &GL_ES_RenderDriver);
208 }
209 }
210
211 SDL_Renderer * 203 SDL_Renderer *
212 GLES_CreateRenderer(SDL_Window * window, Uint32 flags) 204 GLES_CreateRenderer(SDL_Window * window, Uint32 flags)
213 { 205 {
214 206
215 SDL_Renderer *renderer; 207 SDL_Renderer *renderer;