mesa/formats: pass correct parameter to _mesa_is_format_compressed

commit 26c549e69d
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>
This commit is contained in:
Dave Airlie
2015-08-26 10:37:09 +10:00
parent 48e6404c04
commit 73e5adc4b2
+1 -1
View File
@@ -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;
}