summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-04-10 12:48:28 -0600
committerBrian Paul <[email protected]>2011-04-10 13:12:49 -0600
commit34a5d3b9f4740601708c82093e2114356d749e65 (patch)
tree7c8b91e28a4b2e056e4da9d24dc1f13afacd70c0 /src/mesa/main/api_exec.c
parentf22d49de0f02653bb54aeb6a5f07a56e2cc63f1d (diff)
mesa: plug in new functions for GL_ARB_sampler_objects
Build the new sources, plug the new functions into the dispatch table, implement display list support. And enable extension in the gallium state tracker.
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;
}