src/video/SDL_renderer_gl.c
changeset 3013 8cc00819c8d6
parent 3011 8f4ed5ec2b06
child 3041 20d65430e63c
--- a/src/video/SDL_renderer_gl.c	Sat Jan 10 18:32:24 2009 +0000
+++ b/src/video/SDL_renderer_gl.c	Sat Jan 10 21:50:26 2009 +0000
@@ -926,8 +926,8 @@
     renderdata->glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
     renderdata->glPixelStorei(GL_UNPACK_ROW_LENGTH,
                               (pitch / bytes_per_pixel(texture->format)) /
-                              ((GL_TextureData *) texture->
-                               driverdata)->HACK_RYAN_FIXME);
+                              ((GL_TextureData *) texture->driverdata)->
+                              HACK_RYAN_FIXME);
 }
 
 static int