[Mesa-dev] [PATCH 1/2] mesa: Set up glTexBuffer{, ARB} for display list compile.

Eric Anholt eric at anholt.net
Mon Mar 26 12:57:31 PDT 2012


We're supposed to just immediately call it.  Fixes piglit
GL_ARB_texture_buffer_object/dlist
---
 src/mesa/main/dlist.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index f113573..8cfb97c 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -10319,6 +10319,9 @@ _mesa_create_save_table(void)
    SET_FlushMappedBufferRange(table, _mesa_FlushMappedBufferRange); /* no dl */
 #endif
 
+   /* ARB 51. GL_ARB_texture_buffer_object */
+   SET_TexBufferARB(table, _mesa_TexBuffer); /* no dlist save */
+
    /* ARB 59. GL_ARB_copy_buffer */
    SET_CopyBufferSubData(table, _mesa_CopyBufferSubData); /* no dlist save */
 
-- 
1.7.9.1



More information about the mesa-dev mailing list