mesa: Fix display list handling for GL_EXT_framebuffer_multisample.
authorEric Anholt <eric@anholt.net>
Tue, 24 Jan 2012 23:27:29 +0000 (15:27 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Jan 2012 19:28:15 +0000 (11:28 -0800)
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 <brianp@vmware.com>
src/mesa/main/dlist.c

index fed487b9aa66884475666e6220976b1019ecb711..677debffcb77959f712572db775acb326206adc9 100644 (file)
@@ -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);