radeon-gallium: Compile warning fix.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sun, 5 Jul 2009 18:56:40 +0000 (11:56 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sun, 5 Jul 2009 18:56:40 +0000 (11:56 -0700)
Fixes flush during validation, in case a buffer is double-validated.

src/gallium/winsys/drm/radeon/core/radeon_r300.c

index 63aa3179ac88e80ebcc4d1240427996849ff5cac..8c5f756ddf8730d1cd95e569507ce5674fa157ca 100644 (file)
@@ -39,7 +39,7 @@ static boolean radeon_r300_add_buffer(struct r300_winsys* winsys,
         if (sc[i].bo == bo) {
             sc[i].read_domains |= rd;
             sc[i].write_domain |= wd;
-            return;
+            return TRUE;
         }
     }