From d4340e2b35ceea8a86a17dd001e168e9e758eea7 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 6 Jun 2012 15:38:52 +0000 Subject: fix bug in GrGLInterface validation added in r4192 git-svn-id: http://skia.googlecode.com/svn/trunk@4193 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGLInterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpu/gl/GrGLInterface.cpp') diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp index 34d6a74b38..140b5fd80b 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp @@ -196,9 +196,9 @@ bool GrGLInterface::validate(GrGLBinding binding) const { // GL_NV_path_rendering. We're not enforcing that they be non-NULL // because they aren't actually called at this time. if (false && - NULL == fMatrixMode || - NULL == fLoadIdentity || - NULL == fLoadMatrixf) { + (NULL == fMatrixMode || + NULL == fLoadIdentity || + NULL == fLoadMatrixf)) { return false; } if (false && GrGLHasExtensionFromString("GL_NV_path_rendering", ext)) { -- cgit v1.2.3