mesa: Fix display list handling for EXT_framebuffer_object.
authorEric Anholt <eric@anholt.net>
Tue, 24 Jan 2012 23:19:50 +0000 (15:19 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Jan 2012 19:28:15 +0000 (11:28 -0800)
commit25dd80555d895fbe98e8f8099283992d350f22a2
tree4bf7c3bbe5b0ef0836dc161d67f6844b7bd4ceea
parent8b3c99a5ebbc2f8b586d8ae2bd9aa5c55bbf3f04
mesa: Fix display list handling for EXT_framebuffer_object.

Noticed when handling a similar problem in EXT_framebuffer_multisample.

From the EXT_framebuffer_object 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: ..., GenFramebuffersEXT, BindFramebufferEXT,
    DeleteFramebuffersEXT, CheckFramebufferStatusEXT,
    GenRenderbuffersEXT, BindRenderbufferEXT, DeleteRenderbuffersEXT,
    RenderbufferStorageEXT, FramebufferTexture1DEXT,
    FramebufferTexture2DEXT, FramebufferTexture3DEXT,
    FramebufferRenderbufferEXT, GenerateMipmapEXT..."

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/dlist.c