summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-01-24 15:27:29 -0800
committerEric Anholt <[email protected]>2012-01-27 11:28:15 -0800
commit3d8c27f882b852ada86aac99a54fdb57d98a79ac (patch)
treec8464575199ef6e54f8c299c42e5e2701db7d699
parent25dd80555d895fbe98e8f8099283992d350f22a2 (diff)
mesa: Fix display list handling for GL_EXT_framebuffer_multisample.
From the extension spec: Added to section 5.4, as part of the discussion of which commands are not compiled into display lists: "Certain commands, when called while compiling a display list, are not compiled into the display list but are executed immediately. These are: ..., RenderbufferStorageMultisampleEXT..." Fixes piglit EXT_framebuffer_multisample/dlist. Reviewed-by: Brian Paul <[email protected]>
-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 fed487b9aa6..677debffcb7 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -10130,6 +10130,9 @@ _mesa_create_save_table(void)
SET_FramebufferRenderbufferEXT(table, _mesa_FramebufferRenderbufferEXT);
SET_GenerateMipmapEXT(table, _mesa_GenerateMipmapEXT);
+ /* 317. GL_EXT_framebuffer_multisample */
+ SET_RenderbufferStorageMultisample(table, _mesa_RenderbufferStorageMultisample);
+
/* GL_ARB_vertex_array_object */
SET_BindVertexArray(table, _mesa_BindVertexArray);
SET_GenVertexArrays(table, _mesa_GenVertexArrays);