PutRowRGB was not initialized for OSMESA_RGB_565
authorDaniel Borca <dborca@users.sourceforge.net>
Mon, 27 Mar 2006 17:32:22 +0000 (17:32 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Mon, 27 Mar 2006 17:32:22 +0000 (17:32 +0000)
src/mesa/drivers/osmesa/osmesa.c

index c628d5339115e1d413828a171a312858c1eca587..1c203ec8b622ad21bd6d71ec9c664c1ba4faa39d 100644 (file)
@@ -651,7 +651,7 @@ osmesa_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb,
       rb->GetRow = get_row_RGB_565;
       rb->GetValues = get_values_RGB_565;
       rb->PutRow = put_row_RGB_565;
-      rb->PutRow = put_row_rgb_RGB_565;
+      rb->PutRowRGB = put_row_rgb_RGB_565;
       rb->PutMonoRow = put_mono_row_RGB_565;
       rb->PutValues = put_values_RGB_565;
       rb->PutMonoValues = put_mono_values_RGB_565;