src/render/opengles/SDL_render_gles.c
changeset 6171 7b9126fde949
parent 6138 4c64952a58fb
child 6188 e82023802002
--- a/src/render/opengles/SDL_render_gles.c	Sat Jan 07 02:04:38 2012 -0500
+++ b/src/render/opengles/SDL_render_gles.c	Sat Jan 07 02:32:08 2012 -0500
@@ -225,6 +225,7 @@
     renderer->info = GLES_RenderDriver.info;
     renderer->info.flags = SDL_RENDERER_ACCELERATED;
     renderer->driverdata = data;
+    renderer->window = window;
 
     SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
     SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 1);