From 3217c4a37194905cd91b02314fde7d70ba7bcfac Mon Sep 17 00:00:00 2001 From: krajcevski Date: Mon, 9 Jun 2014 09:10:04 -0700 Subject: 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 --- src/gpu/gl/GrGLCaps.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gpu/gl') 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; -- cgit v1.2.3