--- a/src/mesa/drivers/x11/xm_dd.c	2011-08-24 09:34:07.994841678 +0200
+++ b/src/mesa/drivers/x11/xm_dd.c	2011-08-24 12:22:10.756839418 +0200
@@ -588,7 +588,7 @@ xmesa_DrawPixels_5R6G5B( struct gl_conte
                         "glDrawPixels(invalid PBO access)");
             return;
          }
-         buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0
+         buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0,
 						      unpack->BufferObj->Size,
 						      GL_MAP_READ_BIT,
 						      unpack->BufferObj);

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to