summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-03-12 12:15:56 -0700
committerCorbin Simpson <[email protected]>2009-03-15 23:07:31 -0700
commit1e56bb890bff5a9750dbd439e91ce03c87a750b8 (patch)
tree15ee15f63933bf50653deb41e254491b276231c8
parent7c204c975381b0ef4a7693827ffc4ff904de991c (diff)
dri2-gallium: Add occlusion query support at the state tracker level.
-rw-r--r--src/gallium/state_trackers/dri2/dri_extensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri2/dri_extensions.c b/src/gallium/state_trackers/dri2/dri_extensions.c
index 9c7a27282b2..732d1e89b0c 100644
--- a/src/gallium/state_trackers/dri2/dri_extensions.c
+++ b/src/gallium/state_trackers/dri2/dri_extensions.c
@@ -34,6 +34,7 @@
#include "state_tracker/st_context.h"
#define need_GL_ARB_multisample
+#define need_GL_ARB_occlusion_query
#define need_GL_ARB_point_parameters
#define need_GL_ARB_texture_compression
#define need_GL_ARB_vertex_buffer_object
@@ -58,6 +59,7 @@
const struct dri_extension card_extensions[] = {
{"GL_ARB_multisample", GL_ARB_multisample_functions},
{"GL_ARB_multitexture", NULL},
+ {"GL_ARB_occlusion_query", GL_ARB_occlusion_query_functions},
{"GL_ARB_point_parameters", GL_ARB_point_parameters_functions},
{"GL_ARB_texture_border_clamp", NULL},
{"GL_ARB_texture_compression", GL_ARB_texture_compression_functions},