Cleanup: compiler warning in release build

This commit is contained in:
Brecht Van Lommel
2023-11-30 14:32:54 +01:00
parent 9ffd6dabf0
commit f47b1b41c2

View File

@@ -300,8 +300,7 @@ void Result::steal_data(Result &source)
void Result::wrap_external(GPUTexture *texture)
{
const eGPUTextureFormat texture_format = GPU_texture_format(texture);
BLI_assert(texture_format == get_texture_format());
BLI_assert(GPU_texture_format(texture) == get_texture_format());
BLI_assert(!is_allocated());
BLI_assert(!master_);