diff options
author | krajcevski <krajcevski@google.com> | 2014-06-09 09:10:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-09 09:10:04 -0700 |
commit | 3217c4a37194905cd91b02314fde7d70ba7bcfac (patch) | |
tree | 93a1cd3cdd0c68498a47dbb084f83735843fc01b | |
parent | 748e9d37dcc7c58ef9010ea0ab78efea6af2a84b (diff) |
Make sure to copy the LATC alias when copying the GrGLCaps
R=robertphillips@google.com
Author: krajcevski@google.com
Review URL: https://codereview.chromium.org/320273003
-rw-r--r-- | src/gpu/gl/GrGLCaps.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index 7c7b5d45bd..fdf6cacc08 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -24,6 +24,7 @@ void GrGLCaps::reset() { fMSFBOType = kNone_MSFBOType; fFBFetchType = kNone_FBFetchType; fInvalidateFBType = kNone_InvalidateFBType; + fLATCAlias = kLATC_LATCAlias; fMapBufferType = kNone_MapBufferType; fMaxFragmentUniformVectors = 0; fMaxVertexAttributes = 0; @@ -58,6 +59,7 @@ GrGLCaps& GrGLCaps::operator= (const GrGLCaps& caps) { fVerifiedColorConfigs = caps.fVerifiedColorConfigs; fStencilFormats = caps.fStencilFormats; fStencilVerifiedColorConfigs = caps.fStencilVerifiedColorConfigs; + fLATCAlias = caps.fLATCAlias; fMaxFragmentUniformVectors = caps.fMaxFragmentUniformVectors; fMaxVertexAttributes = caps.fMaxVertexAttributes; fMaxFragmentTextureUnits = caps.fMaxFragmentTextureUnits; |