From: Alex Deucher Date: Tue, 19 Jan 2010 06:47:04 +0000 (-0500) Subject: r100/r200/r600: fix typo in 2b1d5ea4f0250a6a7fa312ced0a7af85e909381b X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef631104d51d011ef1dbaf7b4aeba274ae103ad7;p=mesa.git r100/r200/r600: fix typo in 2b1d5ea4f0250a6a7fa312ced0a7af85e909381b --- 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 */