summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-17 13:13:34 -0600
committerBrian Paul <[email protected]>2008-06-18 09:22:00 -0600
commit04996bcef6d65b81f7c2acc873befa2805296800 (patch)
tree2e99ed8f18b8aa7b17baff66f08d90d545379bb1
parent8a369b909a6648ae7a5a0c2dcb972a2f96f99a80 (diff)
gallium: added FEATURE_x tests
-rw-r--r--src/mesa/state_tracker/st_context.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index e20e0c08cbd..9decca8a14b 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -247,17 +247,27 @@ void st_init_driver_functions(struct dd_function_table *functions)
{
_mesa_init_glsl_driver_functions(functions);
+#if FEATURE_accum
st_init_accum_functions(functions);
- st_init_bitmap_functions(functions);
+#endif
+#if FEATURE_EXT_framebuffer_blit
st_init_blit_functions(functions);
+#endif
st_init_bufferobject_functions(functions);
st_init_clear_functions(functions);
+#if FEATURE_drawpix
+ st_init_bitmap_functions(functions);
st_init_drawpixels_functions(functions);
+ st_init_rasterpos_functions(functions);
+#endif
st_init_fbo_functions(functions);
+#if FEATURE_feedback
st_init_feedback_functions(functions);
+#endif
st_init_program_functions(functions);
+#if FEATURE_ARB_occlusion_query
st_init_query_functions(functions);
- st_init_rasterpos_functions(functions);
+#endif
st_init_readpixels_functions(functions);
st_init_texture_functions(functions);
st_init_flush_functions(functions);