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
This commit is contained in:
parent
748e9d37dc
commit
3217c4a371
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user