summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/clear.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-10-03 12:02:18 -0700
committerIan Romanick <[email protected]>2011-10-11 09:00:54 -0700
commita8328cc132e9edd55141e8e7822909a85bda12d6 (patch)
treeca35e82ee4bc21a1e7bf114b3568e0ed34a8d9fc /src/mesa/main/clear.h
parentb875838ec302c4e830e13ebd5fa834fd22830279 (diff)
mesa: Accept GL_DEPTH and GL_STENCIL for window system FBO only
Previously GL_DEPTH_BUFFER and GL_STENCIL_BUFFER were (incorrectly) allowed for both. Those enums don't even really exist! Now GL_DEPTH and GL_STENCIL are only allowed for the window system FBO. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/clear.h')
0 files changed, 0 insertions, 0 deletions