> case MESA_FORMAT_B8G8R8X8_SRGB: > case MESA_FORMAT_X8R8G8B8_SRGB: > return GL_FALSE; > + default: > + assert(_mesa_is_format_compressed(format)); This assert is clearly wrong, _mesa_is_format_compressed should take a mesa_format not a format. Dave.