diff options
author | Marek Olšák <[email protected]> | 2010-07-08 06:16:09 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-08 18:02:30 +0200 |
commit | f9e8cdc145fc0ba1f6c47e20860add6528387c7c (patch) | |
tree | 246e36ca7607fa5901d22bccf6db585a8b675de4 /src/gallium/drivers/r300/r300_blit.c | |
parent | 3751e6e1fc385739022d0942b46e175632ad0d4b (diff) |
r300g: minor fixups
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_blit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 97d53a14f86..2408a953538 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -122,9 +122,10 @@ static void r300_clear(struct pipe_context* pipe, */ struct r300_context* r300 = r300_context(pipe); - struct pipe_framebuffer_state* fb = + struct pipe_framebuffer_state *fb = (struct pipe_framebuffer_state*)r300->fb_state.state; + /* Clear. */ r300_blitter_begin(r300, R300_CLEAR); util_blitter_clear(r300->blitter, fb->width, |