diff options
author | Kenneth Graunke <[email protected]> | 2012-01-27 16:09:48 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-06-02 12:02:42 -0700 |
commit | 608c3d2083be9de1eadac6dad67cd571888ca5d7 (patch) | |
tree | 844fedad3b016c27924a36b23b6e9e256bc9279b /src/mesa/drivers | |
parent | 775ba11dcd8ddc46f78db3afe35de193a92515d0 (diff) |
mesa: Restore depth texture state on glPopAttrib(GL_TEXTURE_BIT).
According to Table 6.17 in the GL 2.1 specification, DEPTH_TEXTURE_MODE,
TEXTURE_COMPARE_MODE, and TEXTURE_COMPARE_FUNC need to be restored on
glPopAttrib(GL_TEXTURE_BIT).
Makes a number of oglconform tests happier.
v2: Make restoration conditional on the ARB_shadow and ARB_depth_texture
extensions, as suggested by Brian. I'm not sure that any
implementations still remain that don't support those, but why not?
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions