src/render/opengles2/SDL_render_gles2.c
changeset 6171 7b9126fde949
parent 6138 4c64952a58fb
child 6178 1fc633857667
--- a/src/render/opengles2/SDL_render_gles2.c	Sat Jan 07 02:04:38 2012 -0500
+++ b/src/render/opengles2/SDL_render_gles2.c	Sat Jan 07 02:32:08 2012 -0500
@@ -1211,6 +1211,7 @@
     renderer->info = GLES2_RenderDriver.info;
     renderer->info.flags = SDL_RENDERER_ACCELERATED;
     renderer->driverdata = rdata;
+    renderer->window = window;
 
     /* Create an OpenGL ES 2.0 context */
     SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);