summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r200/r200_blit.c2
-rw-r--r--src/mesa/drivers/dri/r600/r600_blit.c2
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_blit.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_blit.c b/src/mesa/drivers/dri/r200/r200_blit.c
index 27f18e07387..081218b3a5d 100644
--- a/src/mesa/drivers/dri/r200/r200_blit.c
+++ b/src/mesa/drivers/dri/r200/r200_blit.c
@@ -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 */
diff --git a/src/mesa/drivers/dri/r600/r600_blit.c b/src/mesa/drivers/dri/r600/r600_blit.c
index 1e87d3d7c80..418544a08d7 100644
--- a/src/mesa/drivers/dri/r600/r600_blit.c
+++ b/src/mesa/drivers/dri/r600/r600_blit.c
@@ -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) {
diff --git a/src/mesa/drivers/dri/radeon/radeon_blit.c b/src/mesa/drivers/dri/radeon/radeon_blit.c
index d9343b30641..1ccfa4e78e3 100644
--- a/src/mesa/drivers/dri/radeon/radeon_blit.c
+++ b/src/mesa/drivers/dri/radeon/radeon_blit.c
@@ -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 */