mesa: plug shader object functions into display list dispatch
authorBrian Paul <brianp@vmware.com>
Thu, 26 May 2011 02:39:08 +0000 (20:39 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 26 May 2011 02:39:08 +0000 (20:39 -0600)
src/mesa/main/dlist.c

index 2f5dfa03629a31e0e9d1d36ea9eaf1e3a74ad727..4bfcb6bc80de424a72a1ed2edb4e545944a83468 100644 (file)
@@ -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);