diff options
author | Brian Paul <[email protected]> | 2003-06-13 02:37:27 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-06-13 02:37:27 +0000 |
commit | b17a722ca3989e8563ee04cb2939f4835f8a171e (patch) | |
tree | 817c548199ee8e4a1ba2a0266f491b2b80b942d3 /src/mesa/swrast/s_context.c | |
parent | 0c0e583c01116c9e26ac99735e581ea2b842a88d (diff) |
Implemented GL_ARB_occlusion_query (not 100% finalized).
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r-- | src/mesa/swrast/s_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 5160e810cdb..6a25be68f5d 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -79,7 +79,7 @@ _swrast_update_rasterflags( GLcontext *ctx ) RasterMask |= CLIP_BIT; } - if (ctx->Depth.OcclusionTest) + if (ctx->Depth.OcclusionTest || ctx->Occlusion.Active) RasterMask |= OCCLUSION_BIT; |