summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-08-27 13:56:08 +0000
committerBrian Paul <[email protected]>2005-08-27 13:56:08 +0000
commit23ffc3a85d6172f8a98d17d7f23610bab808d84e (patch)
tree07211e0ccdc4f3418d8e434b39c43d80894e1077 /src/mesa/swrast/s_context.c
parentca1ac986a1d6d3f292e3d20540de884ad08d9816 (diff)
Rearrange the code related to GL_ARB_occlusion_object to generalize query
objects for future types of queries.
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r--src/mesa/swrast/s_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c
index 5ca3f382e59..93f0c759699 100644
--- a/src/mesa/swrast/s_context.c
+++ b/src/mesa/swrast/s_context.c
@@ -80,7 +80,7 @@ _swrast_update_rasterflags( GLcontext *ctx )
rasterMask |= CLIP_BIT;
}
- if (ctx->Occlusion.Active)
+ if (ctx->Query.CurrentOcclusionObject)
rasterMask |= OCCLUSION_BIT;