diff --git a/src/gpu/gl/GrGLContextInfo.cpp b/src/gpu/gl/GrGLContextInfo.cpp index 45368fe298..9802e65985 100644 --- a/src/gpu/gl/GrGLContextInfo.cpp +++ b/src/gpu/gl/GrGLContextInfo.cpp @@ -55,7 +55,7 @@ bool GrGLContextInfo::initialize(const GrGLInterface* interface) { const char* ver = reinterpret_cast(verUByte); GrGLBinding binding = GrGLGetBindingInUseFromString(ver); - if (!interface->validate(fBindingInUse)) { + if (interface->validate(binding)) { fInterface = interface; interface->ref();