Mesa (lp-binning): llvmpipe: fix inverted util_framebuffer_state_equal() result

Brian Paul brianp at kemper.freedesktop.org
Fri Dec 11 17:01:20 PST 2009


Module: Mesa
Branch: lp-binning
Commit: 544882eb58253a4538ccc90ae091abed353416b4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=544882eb58253a4538ccc90ae091abed353416b4

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Dec 11 11:41:11 2009 -0700

llvmpipe: fix inverted util_framebuffer_state_equal() result

---

 src/gallium/drivers/llvmpipe/lp_state_surface.c |    2 +-
 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 0263f2a..2156543 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) {
 



More information about the mesa-commit mailing list