src/render/opengl/SDL_render_gl.c
changeset 6171 7b9126fde949
parent 6138 4c64952a58fb
child 6182 eb6796f3e598
--- a/src/render/opengl/SDL_render_gl.c	Sat Jan 07 02:04:38 2012 -0500
+++ b/src/render/opengl/SDL_render_gl.c	Sat Jan 07 02:32:08 2012 -0500
@@ -274,6 +274,7 @@
     renderer->info = GL_RenderDriver.info;
     renderer->info.flags = SDL_RENDERER_ACCELERATED;
     renderer->driverdata = data;
+    renderer->window = window;
 
     data->context = SDL_GL_CreateContext(window);
     if (!data->context) {