Cleanup: GPU: Fix warning
This commit is contained in:
@@ -1637,6 +1637,7 @@ void GPU_texture_clear(GPUTexture *tex, eGPUDataFormat gpu_data_format, const vo
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
BLI_assert(!"Unhandled data format");
|
BLI_assert(!"Unhandled data format");
|
||||||
|
depth = 0.0f;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
glClearDepth(depth);
|
glClearDepth(depth);
|
||||||
|
Reference in New Issue
Block a user