summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-05-25 20:39:08 -0600
committerBrian Paul <[email protected]>2011-05-25 20:39:08 -0600
commit001aa6c979f7795d8e48344c662a0546ae555f95 (patch)
treea63357463f9caecc253a133830f6fc8e5f89fcaa /src/mesa
parent4535c98cdb2ccb11dbf5af8662eed8f9a08fbca6 (diff)
mesa: plug shader object functions into display list dispatch
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/dlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 2f5dfa03629..4bfcb6bc80d 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -58,6 +58,7 @@
#include "pbo.h"
#include "queryobj.h"
#include "samplerobj.h"
+#include "shaderapi.h"
#include "teximage.h"
#include "mtypes.h"
#include "varray.h"
@@ -9995,6 +9996,7 @@ _mesa_create_save_table(void)
#endif
/* GL_ARB_shader_objects */
+ _mesa_init_shader_dispatch(table); /* Plug in glCreate/Delete/Get, etc */
SET_UseProgramObjectARB(table, save_UseProgramObjectARB);
SET_Uniform1fARB(table, save_Uniform1fARB);
SET_Uniform2fARB(table, save_Uniform2fARB);