summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-03-20 16:31:21 -0700
committerEric Anholt <[email protected]>2012-04-09 14:33:57 -0700
commit44f2cee0fdda6186c3a0b12996bcd5adb92cceb1 (patch)
tree6b4f555238aee0f380f064e5fe17abb1ad95d7d2 /src/mesa
parent62bdb187f82871a9f8ea6f62235da82106cddd33 (diff)
mesa: Set up glTexBuffer{,ARB} for display list compile.
We're supposed to just immediately call it. Fixes piglit GL_ARB_texture_buffer_object/dlist Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/dlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index f113573d883..8cfb97c266e 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 */