diff options
author | Eric Anholt <[email protected]> | 2011-11-10 12:44:47 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-11-14 09:26:53 -0800 |
commit | 196c6d4adfd6cee13782dc558b855c27a15e567c (patch) | |
tree | a7e658e1da98fe56d11c7068edddbcdd0c91ed32 /src/mesa/drivers/common/driverfuncs.h | |
parent | 95a826bed385efe6f53d3e1c0305b05ef355d786 (diff) |
meta: Fix restoring of fixed function texture enables.
If they were disabled on entry, and we enabled one (like for
BlitFramebuffer), we wouldn't disable it on the way out. Retain the
attempted optimization here (don't keep calling to set each bit for
changes that won't matter) by just setting the bits directly with
appropriate flushing.
Fixes misrendering on the second draw of piglit fbo-blit.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/driverfuncs.h')
0 files changed, 0 insertions, 0 deletions