mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
r300: fix stencil clears
This commit is contained in:
parent
226c876a52
commit
5c7fc1cb8e
1 changed files with 3 additions and 0 deletions
|
|
@ -558,6 +558,9 @@ static void r300KernelClear(GLcontext *ctx, GLuint flags)
|
|||
if (rrbd && (flags & BUFFER_BIT_DEPTH))
|
||||
bits |= CLEARBUFFER_DEPTH;
|
||||
|
||||
if (rrbd && (flags & BUFFER_BIT_STENCIL))
|
||||
bits |= CLEARBUFFER_STENCIL;
|
||||
|
||||
if (flags & BUFFER_BIT_COLOR0) {
|
||||
rrb = radeon_get_renderbuffer(&rfb->base, BUFFER_COLOR0);
|
||||
r300ClearBuffer(r300, CLEARBUFFER_COLOR, rrb, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue