remove stray references to ctx->Depth.OcclusionTest
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 25 Aug 2005 19:38:42 +0000 (19:38 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 25 Aug 2005 19:38:42 +0000 (19:38 +0000)
src/mesa/drivers/dri/i915/i830_metaops.c
src/mesa/drivers/dri/i915/intel_pixel.c
src/mesa/drivers/dri/mga/mgapixel.c
src/mesa/drivers/dri/r200/r200_pixel.c
src/mesa/drivers/dri/tdfx/tdfx_pixels.c

index dd238378b00962b67c76e031a32e89bfdf4060f4..e12ef88a742623fef50af31bd8017883d200b3f5 100644 (file)
@@ -624,8 +624,7 @@ i830TryTextureDrawPixels( GLcontext *ctx,
        !ctx->Color.ColorMask[2] ||
        !ctx->Color.ColorMask[3] ||
        ctx->Color.ColorLogicOpEnabled ||
-       ctx->Texture._EnabledUnits ||
-       ctx->Depth.OcclusionTest) {
+       ctx->Texture._EnabledUnits) {
       fprintf(stderr, "%s: other tests failed\n", __FUNCTION__);
       return GL_FALSE;
    }
index e56e46b4d7f081bcb2171c91d5c33f08bb17bb1e..09eea5022f08ec98c91ba779ea4f3123ca8b85c1 100644 (file)
@@ -86,8 +86,7 @@ check_color_per_fragment_ops( const GLcontext *ctx )
                    !ctx->Color.ColorMask[2] ||
                    !ctx->Color.ColorMask[3] ||
                    ctx->Color.ColorLogicOpEnabled ||
-                   ctx->Texture._EnabledUnits ||
-                   ctx->Depth.OcclusionTest
+                   ctx->Texture._EnabledUnits
            ) &&
           ctx->Current.RasterPosValid);
    
index 952b8d5631255a09dcb8f233857532de89c4cf67..38577f05edde4c54bb502fd908f2df4a91bd8835 100644 (file)
@@ -140,8 +140,7 @@ check_color_per_fragment_ops( const GLcontext *ctx )
                    !ctx->Color.ColorMask[2] ||
                    !ctx->Color.ColorMask[3] ||
                    ctx->Color.ColorLogicOpEnabled ||
-                   ctx->Texture._EnabledUnits ||
-                   ctx->Depth.OcclusionTest
+                   ctx->Texture._EnabledUnits
            ) &&
           ctx->Current.RasterPosValid &&
           ctx->Pixel.ZoomX == 1.0F &&
index adc6a2aa282b7c3d4f5374cb2e262e07bf54fa09..ad3ec20b4e9a2ac32d1eb8183d1b0756ec314175 100644 (file)
@@ -93,8 +93,7 @@ check_color_per_fragment_ops( const GLcontext *ctx )
                    !ctx->Color.ColorMask[2] ||
                    !ctx->Color.ColorMask[3] ||
                    ctx->Color.ColorLogicOpEnabled ||
-                   ctx->Texture._EnabledUnits ||
-                   ctx->Depth.OcclusionTest
+                   ctx->Texture._EnabledUnits
            ) &&
           ctx->Current.RasterPosValid);
    
index 6592ecccfbac69be37de24d3364317d41f38f857..1a5a2b11090cf8e8dc10129bb6ea87762baee8d8 100644 (file)
@@ -618,7 +618,6 @@ tdfx_drawpixels_R8G8B8A8(GLcontext * ctx, GLint x, GLint y,
        !ctx->Color.ColorMask[3] ||
        ctx->Color.ColorLogicOpEnabled ||
        ctx->Texture._EnabledUnits ||
-       ctx->Depth.OcclusionTest ||
        fxMesa->Fallback)       
    {
       _swrast_DrawPixels( ctx, x, y, width, height, format, type,