diff options
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c index 7451c8bcdec..38ba8bc612f 100644 --- a/source/blender/gpu/intern/gpu_texture.c +++ b/source/blender/gpu/intern/gpu_texture.c @@ -1637,6 +1637,7 @@ void GPU_texture_clear(GPUTexture *tex, eGPUDataFormat gpu_data_format, const vo } default: BLI_assert(!"Unhandled data format"); + depth = 0.0f; break; } glClearDepth(depth); |