Commit a36483fc by Geoff Lang Committed by Commit Bot

Use full type names instead of auto for simple structs.

BUG=angleproject:2107 Change-Id: I7a5e4be124ec4381799fea51de3715e09c2f7400 Reviewed-on: https://chromium-review.googlesource.com/957272 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent a8cb287c
...@@ -1949,8 +1949,8 @@ Error Framebuffer::ensureClearAttachmentsInitialized(const Context *context, GLb ...@@ -1949,8 +1949,8 @@ Error Framebuffer::ensureClearAttachmentsInitialized(const Context *context, GLb
return NoError(); return NoError();
} }
const auto &blend = glState.getBlendState(); const BlendState &blend = glState.getBlendState();
const auto &depthStencil = glState.getDepthStencilState(); const DepthStencilState &depthStencil = glState.getDepthStencilState();
bool color = (mask & GL_COLOR_BUFFER_BIT) != 0 && !IsColorMaskedOut(blend); bool color = (mask & GL_COLOR_BUFFER_BIT) != 0 && !IsColorMaskedOut(blend);
bool depth = (mask & GL_DEPTH_BUFFER_BIT) != 0 && !IsDepthMaskedOut(depthStencil); bool depth = (mask & GL_DEPTH_BUFFER_BIT) != 0 && !IsDepthMaskedOut(depthStencil);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment