TextureGL: MSVC compile fix
This commit is contained in:
parent
8341499b86
commit
64a23ce0ed
|
@ -252,7 +252,7 @@ MaybeError Texture::ClearTexture(const SubresourceRange& range,
|
|||
float fClearColor = (clearValue == TextureBase::ClearValue::Zero) ? 0.f : 1.f;
|
||||
|
||||
if (GetFormat().isRenderable) {
|
||||
if ((range.aspects & (Aspect::Depth | Aspect::Stencil)) != 0) {
|
||||
if (range.aspects & (Aspect::Depth | Aspect::Stencil)) {
|
||||
GLfloat depth = fClearColor;
|
||||
GLint stencil = clearColor;
|
||||
if (range.aspects & Aspect::Depth) {
|
||||
|
|
Loading…
Reference in New Issue