summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-30 21:39:46 -0700
committerBrian Paul <brianp@vmware.com>2009-12-31 08:49:26 -0700
commitff3a52643d323626f32a9f1c14464a9501e6494d (patch)
tree93206f7c8bd61bd753bba800f8dbcab70bf270c6 /src/mesa/main
parent007b1f42c45e9c063eff5846530baf6ffc8643dd (diff)
mesa: plug in API functions for conditional rendering
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/api_exec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 6c3c98994a..c2d8a7fb97 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -51,6 +51,7 @@
#include "clear.h"
#include "clip.h"
#include "colortab.h"
+#include "condrender.h"
#include "context.h"
#include "convolve.h"
#include "depth.h"
@@ -754,4 +755,8 @@ _mesa_init_exec_table(struct _glapi_table *exec)
SET_EnableIndexedEXT(exec, _mesa_EnableIndexed);
SET_DisableIndexedEXT(exec, _mesa_DisableIndexed);
SET_IsEnabledIndexedEXT(exec, _mesa_IsEnabledIndexed);
+
+ /* GL_NV_conditional_render */
+ SET_BeginConditionalRenderNV(exec, _mesa_BeginConditionalRender);
+ SET_EndConditionalRenderNV(exec, _mesa_EndConditionalRender);
}