summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_state.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-12 04:50:53 +1100
committerBen Skeggs <[email protected]>2008-03-12 04:50:53 +1100
commitcd9ed05aec9d1d9614973165fd13647ba2e1b8c7 (patch)
treeae8d6c8a9ecdc88b6dbe478a64dfd5bbbc6eb933 /src/gallium/drivers/nv50/nv50_state.c
parentcd85dc1e5dfa37cb9bee696e5e18332e3f1d65a1 (diff)
nv50: start on fb state
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state.c b/src/gallium/drivers/nv50/nv50_state.c
index 088df9e6756..aa65fd482e4 100644
--- a/src/gallium/drivers/nv50/nv50_state.c
+++ b/src/gallium/drivers/nv50/nv50_state.c
@@ -386,6 +386,10 @@ static void
nv50_set_framebuffer_state(struct pipe_context *pipe,
const struct pipe_framebuffer_state *fb)
{
+ struct nv50_context *nv50 = nv50_context(pipe);
+
+ nv50->framebuffer = *fb;
+ nv50->dirty |= NV50_NEW_FRAMEBUFFER;
}
static void