diff options
author | Eric Anholt <[email protected]> | 2011-01-11 13:34:40 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-01-11 13:48:31 -0800 |
commit | 5acf94e95559879df13bfa854e081665fd58fb61 (patch) | |
tree | 1a7a129ac2d47b8db463917e4e83348f13f9639c /src/mesa | |
parent | 242205404d24f04f9abe1cfa01b9cf0f9e4f9d07 (diff) |
i965: Remove dead fallback for stencil _Enabled but no stencil buffer.
The _Enabled field is the thing that takes into account whether
there's a stencil buffer. Tested with piglit glx-visuals-stencil.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fallback.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c index 82356a5bc07..395f306f1b5 100644 --- a/src/mesa/drivers/dri/i965/brw_fallback.c +++ b/src/mesa/drivers/dri/i965/brw_fallback.c @@ -71,14 +71,6 @@ static GLboolean do_check_fallback(struct brw_context *brw) } } } - - /* _NEW_STENCIL - */ - if (ctx->Stencil._Enabled && - (ctx->DrawBuffer->Name == 0 && !brw->intel.hw_stencil)) { - DBG("FALLBACK: stencil\n"); - return GL_TRUE; - } return GL_FALSE; } |