diff options
author | Marek Olšák <[email protected]> | 2010-02-05 08:12:01 +0100 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-02-06 23:25:29 -0800 |
commit | 2f5fcce933dd9beb66d2da4c1ca979ccde57483e (patch) | |
tree | a372981ed9454549cb0614123a58762e1542c469 /src/gallium/drivers/r300/r300_state.c | |
parent | c8b34616b345d7a64d39e0ea3d4f4006af0b9740 (diff) |
r300g: make a local copy of framebuffer state
The previous more direct approach was simply incorrect.
piglit/levelclamp passes again.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index ca4d25aed63..76e1385d7c2 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -511,7 +511,7 @@ static void draw_flush(r300->draw); } - r300->fb_state.state = state; + memcpy(r300->fb_state.state, state, sizeof(struct pipe_framebuffer_state)); /* Don't rely on the order of states being set for the first time. */ /* XXX wait what */ |