From fcdb083420c623e1f8ef6560654d82f04df77160 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 7 Jun 2012 13:03:03 +0000 Subject: Fix dumb bug in checking gl interface validation against binding from gl version string git-svn-id: http://skia.googlecode.com/svn/trunk@4202 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGLContextInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/gl') 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(); -- cgit v1.2.3