Mesa (master): mesa: plug shader object functions into display list dispatch

Brian Paul brianp at kemper.freedesktop.org
Thu May 26 03:09:14 UTC 2011


Module: Mesa
Branch: master
Commit: 001aa6c979f7795d8e48344c662a0546ae555f95
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=001aa6c979f7795d8e48344c662a0546ae555f95

Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 20:39:08 2011 -0600

mesa: plug shader object functions into display list dispatch

---

 src/mesa/main/dlist.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 2f5dfa0..4bfcb6b 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);




More information about the mesa-commit mailing list