intel: Fix commented-out glViewport in intel_meta_set_passthrough_transform.
authorEric Anholt <eric@anholt.net>
Wed, 4 Feb 2009 04:04:24 +0000 (20:04 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 4 Feb 2009 04:06:48 +0000 (20:06 -0800)
Too much commit -a while debugging.

src/mesa/drivers/dri/intel/intel_pixel.c

index f440a7716cfbb9e0d8857ffdd7851f6680079bc7..5e32288844c48b0eb664866d5391f45d260aaf42 100644 (file)
@@ -183,7 +183,7 @@ intel_meta_set_passthrough_transform(struct intel_context *intel)
    intel->meta.saved_vp_height = ctx->Viewport.Height;
    intel->meta.saved_matrix_mode = ctx->Transform.MatrixMode;
 
-   /*   _mesa_Viewport(0, 0, ctx->DrawBuffer->Width, ctx->DrawBuffer->Height);*/
+   _mesa_Viewport(0, 0, ctx->DrawBuffer->Width, ctx->DrawBuffer->Height);
 
    _mesa_MatrixMode(GL_PROJECTION);
    _mesa_PushMatrix();
@@ -205,8 +205,8 @@ intel_meta_restore_transform(struct intel_context *intel)
 
    _mesa_MatrixMode(intel->meta.saved_matrix_mode);
 
-   /*   _mesa_Viewport(intel->meta.saved_vp_x, intel->meta.saved_vp_y,
-       intel->meta.saved_vp_width, intel->meta.saved_vp_height);*/
+   _mesa_Viewport(intel->meta.saved_vp_x, intel->meta.saved_vp_y,
+                 intel->meta.saved_vp_width, intel->meta.saved_vp_height);
 }
 
 /**