forked from bartvdbraak/blender
GPU: Fix compilation warning about uninitialized values
This commit is contained in:
parent
c7a7dc743d
commit
59b730b643
@ -1671,6 +1671,7 @@ void GPU_texture_clear(GPUTexture *tex, eGPUDataFormat gpu_data_format, const vo
|
||||
}
|
||||
default:
|
||||
BLI_assert(!"Unhandled data format");
|
||||
r = g = b = a = 0.0f;
|
||||
break;
|
||||
}
|
||||
glClearColor(r, g, b, a);
|
||||
|
Loading…
Reference in New Issue
Block a user