diff options
author | Marek Olšák <maraeo@gmail.com> | 2009-12-14 05:29:12 +0100 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-12-15 19:04:46 -0800 |
commit | a6d701d1c6ed8e0a649d62104aeded8fb25c66d8 (patch) | |
tree | 201af697b933ade27d4ee4a91f6712a55eb69c9f /src/gallium/drivers/r300/r300_state.c | |
parent | cf85bf9cd0c168caed6210a896df285c3d86db03 (diff) |
r300g: if no colorbuffers are set, disable blending and set the color mask to 0
This seems to be the only way to disable the first colorbuffer.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 3cfa2e63f9..91cf972ede 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -339,6 +339,7 @@ static void r300->dirty_state |= R300_NEW_SCISSOR; } r300->dirty_state |= R300_NEW_FRAMEBUFFERS; + r300->dirty_state |= R300_NEW_BLEND; } /* Create fragment shader state. */ |