use BCOPY macro on FreeBSD
[mesa.git] / src / mesa / main / state.c
index 667953a65caebb812fa088a43235e6b74465f80d..5c3b316f89cbc16260ba11a9724233b160d73bc0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: state.c,v 1.4 2000/02/24 22:04:03 brianp Exp $ */
+/* $Id: state.c,v 1.6 2000/04/01 05:42:06 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -791,11 +791,14 @@ static void update_rasterflags( GLcontext *ctx )
       ctx->RasterMask |= WINCLIP_BIT;
    }
 
+   if (ctx->Depth.OcclusionTest)
+      ctx->RasterMask |= OCCLUSION_BIT;
+
+
    /* If we're not drawing to exactly one color buffer set the
     * MULTI_DRAW_BIT flag.  Also set it if we're drawing to no
     * buffers or the RGBA or CI mask disables all writes.
     */
-
    ctx->TriangleCaps &= ~DD_MULTIDRAW;
 
    if (ctx->Color.MultiDrawBuffer) {