summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-04-11 21:19:41 -0600
committerBrian Paul <[email protected]>2011-04-11 21:19:41 -0600
commit1ca55854591d647a485364c2db67899e7f9aaae1 (patch)
treed1125cca4e991429b465f158581f48a7e6d539b8 /src/mesa/main/api_exec.c
parent2432ca1c2e205100d48070305ba2d5f8978bce03 (diff)
parent65b024d63a44464ecf752bec417281109f4bd81e (diff)
Merge branch 'arb_sampler_objects'
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r--src/mesa/main/api_exec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 91cdea5bb98..d0298df20cb 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -78,6 +78,9 @@
#include "polygon.h"
#include "queryobj.h"
#include "readpix.h"
+#if FEATURE_ARB_sampler_objects
+#include "samplerobj.h"
+#endif
#include "scissor.h"
#include "stencil.h"
#include "texenv.h"
@@ -729,6 +732,10 @@ _mesa_create_exec_table(void)
/* GL_ARB_texture_buffer_object */
SET_TexBufferARB(exec, _mesa_TexBuffer);
+#if FEATURE_ARB_sampler_objects
+ _mesa_init_sampler_object_dispatch(exec);
+#endif
+
return exec;
}