mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 20:10:24 +01:00
i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil.
Noticed this with the fbotexture demo.
This commit is contained in:
parent
60953059ea
commit
c06f4e2a37
1 changed files with 2 additions and 2 deletions
|
|
@ -75,8 +75,8 @@ static GLboolean do_check_fallback(struct brw_context *brw)
|
|||
|
||||
/* _NEW_STENCIL
|
||||
*/
|
||||
if (ctx->Stencil.Enabled &&
|
||||
!brw->intel.hw_stencil) {
|
||||
if (ctx->Stencil.Enabled &&
|
||||
(ctx->DrawBuffer->Name == 0 && !brw->intel.hw_stencil)) {
|
||||
DBG("FALLBACK: stencil\n");
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue