summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_surface.c b/src/gallium/drivers/llvmpipe/lp_state_surface.c
index 0263f2a624..21565436eb 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_surface.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_surface.c
@@ -47,7 +47,7 @@ llvmpipe_set_framebuffer_state(struct pipe_context *pipe,
{
struct llvmpipe_context *lp = llvmpipe_context(pipe);
- boolean changed = util_framebuffer_state_equal(&lp->framebuffer, fb);
+ boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb);
if (changed) {