summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-08-26 10:37:09 +1000
committerDave Airlie <airlied@redhat.com>2015-08-26 14:13:27 +1000
commit73e5adc4b2bf082addd1ae76fb23c2773887162b (patch)
treec786395b2d585abb5274bfb9d8df36002c9c3df6 /src/mesa/main/formats.c
parent48e6404c04da6c9655d7a8b625830d0d40f393ae (diff)
downloadexternal_mesa3d-73e5adc4b2bf082addd1ae76fb23c2773887162b.zip
external_mesa3d-73e5adc4b2bf082addd1ae76fb23c2773887162b.tar.gz
external_mesa3d-73e5adc4b2bf082addd1ae76fb23c2773887162b.tar.bz2
mesa/formats: pass correct parameter to _mesa_is_format_compressed
commit 26c549e69d12e44e2e36c09764ce2cceab262a1b Author: Nanley Chery <nanley.g.chery@intel.com> Date: Fri Jul 31 10:26:36 2015 -0700 mesa/formats: remove compressed formats from matching function caused a regression in my CTS testing, this looks like a clear thinko. Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> sSigned-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/formats.c')
-rw-r--r--src/mesa/main/formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index 8dd07d8..34a4434 100644
--- a/src/mesa/main/formats.c
+++ b/src/mesa/main/formats.c
@@ -1979,7 +1979,7 @@ _mesa_format_matches_format_and_type(mesa_format mesa_format,
case MESA_FORMAT_X8R8G8B8_SRGB:
return GL_FALSE;
default:
- assert(_mesa_is_format_compressed(format));
+ assert(_mesa_is_format_compressed(mesa_format));
if (error)
*error = GL_INVALID_ENUM;
}