diff options
author | Eric Anholt <[email protected]> | 2011-07-12 10:48:40 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-07-18 11:26:33 -0700 |
commit | fc4fba52cf7e9616c70dd76b4d6bdba6582e157b (patch) | |
tree | 94793fe750c01dd4ad9571eec4fbfd1d6986857f /configs/linux-x86 | |
parent | 4c47fce92e381cb182b51ce6d0727c0a1365e8b0 (diff) |
i915: Disable the depth test whenever we don't have a depth buffer.
We were disabling it once at the moment we changed draw buffers, but
later enabling of depth test could turn it back on. Fixes
fbo-nodepth-test.
Note that ctx->DrawBuffer has to be checked because during context
create we get called while it's still unset. However, we know we'll
get an intel_draw_buffer() after that, so it's safe to make a silly
choice at this point.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30080
Diffstat (limited to 'configs/linux-x86')
0 files changed, 0 insertions, 0 deletions