r100/r200/r600: fix typo in 2b1d5ea4f0250a6a7fa312ced0a7af85e909381b
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 19 Jan 2010 06:47:04 +0000 (01:47 -0500)
committerAlex Deucher <alexdeucher@gmail.com>
Tue, 19 Jan 2010 06:47:04 +0000 (01:47 -0500)
src/mesa/drivers/dri/r200/r200_blit.c
src/mesa/drivers/dri/r600/r600_blit.c
src/mesa/drivers/dri/radeon/radeon_blit.c

index 27f18e073873971366ee000d763863c249d3ec3a..081218b3a5d4ac3568992c458b911ea2e00385a8 100644 (file)
@@ -332,7 +332,7 @@ GLboolean r200_blit(struct r200_context *r200,
                     unsigned reg_height,
                     unsigned flip_y)
 {
-    if (is_blit_supported(dst_mesaformat))
+    if (!is_blit_supported(dst_mesaformat))
         return GL_FALSE;
 
     /* Make sure that colorbuffer has even width - hw limitation */
index 1e87d3d7c809fc3db97edd013b5f7176c9cc7f75..418544a08d79ab47d52a401b0db862e5a886c05c 100644 (file)
@@ -1582,7 +1582,7 @@ GLboolean r600_blit(context_t *context,
 {
     int id = 0;
 
-    if (is_blit_supported(dst_mesaformat))
+    if (!is_blit_supported(dst_mesaformat))
            return GL_FALSE;
 
     if (src_bo == dst_bo) {
index d9343b30641341eb099cc4c9c6b4c16f9565d9ed..1ccfa4e78e321fa18d28eea98b55d3f9692a673a 100644 (file)
@@ -328,7 +328,7 @@ GLboolean r100_blit(struct r100_context *r100,
                     unsigned reg_height,
                     unsigned flip_y)
 {
-    if (is_blit_supported(dst_mesaformat))
+    if (!is_blit_supported(dst_mesaformat))
         return GL_FALSE;
 
     /* Make sure that colorbuffer has even width - hw limitation */