Index: src/gpu/gl/GrGLContext.cpp |
diff --git a/src/gpu/gl/GrGLContext.cpp b/src/gpu/gl/GrGLContext.cpp |
index fad885b29a0f407a02a07f3cc01819a91fd5a071..2eb4893019e487ab96ddb193f7758d721bc61fa2 100644 |
--- a/src/gpu/gl/GrGLContext.cpp |
+++ b/src/gpu/gl/GrGLContext.cpp |
@@ -48,9 +48,11 @@ bool GrGLContextInfo::initialize(const GrGLInterface* interface) { |
fIsChromium = GrGLIsChromiumFromRendererString(renderer); |
+ // This must be done before calling GrGLCaps::init() |
+ fStandard = interface->fStandard; |
+ |
fGLCaps->init(*this, interface); |
- fStandard = interface->fStandard; |
return true; |
} |
} |