Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index 06ebe3d34d0890468870cd1245f643a9220df16c..5ee75460cf1664476d1c1e0a78260839c95692df 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -942,6 +942,7 @@ GrGLSLCaps::GrGLSLCaps(const GrGLSLCaps& caps) : GrShaderCaps() { |
GrGLSLCaps& GrGLSLCaps::operator= (const GrGLSLCaps& caps) { |
INHERITED::operator=(caps); |
+ fGLSLGeneration = caps.fGLSLGeneration; |
fDropsTileOnZeroDivide = caps.fDropsTileOnZeroDivide; |
fFBFetchSupport = caps.fFBFetchSupport; |
fFBFetchNeedsCustomOutput = caps.fFBFetchNeedsCustomOutput; |
@@ -960,6 +961,8 @@ bool GrGLSLCaps::init(const GrGLContextInfo& ctxInfo, |
return false; |
} |
+ fGLSLGeneration = ctxInfo.glslGeneration(); |
+ |
GrGLStandard standard = ctxInfo.standard(); |
GrGLVersion version = ctxInfo.version(); |