mesa: Set up glTexBuffer{,ARB} for display list compile.
authorEric Anholt <eric@anholt.net>
Tue, 20 Mar 2012 23:31:21 +0000 (16:31 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 9 Apr 2012 21:33:57 +0000 (14:33 -0700)
We're supposed to just immediately call it.  Fixes piglit
GL_ARB_texture_buffer_object/dlist

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/dlist.c

index f113573d883b5cd6a7f40bbce62e4fa1d6ad125f..8cfb97c266e66225d3e3d4f6341c46e7e72866a6 100644 (file)
@@ -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 */