aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLInterface.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-06 15:38:52 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-06 15:38:52 +0000
commitd4340e2b35ceea8a86a17dd001e168e9e758eea7 (patch)
tree0b03ea92128e25f7d35c957db0b9b11ad6194f39 /src/gpu/gl/GrGLInterface.cpp
parentfe11cb6486adfccc1a9ca9658ae25907192a8642 (diff)
fix bug in GrGLInterface validation added in r4192
git-svn-id: http://skia.googlecode.com/svn/trunk@4193 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGLInterface.cpp')
-rw-r--r--src/gpu/gl/GrGLInterface.cpp6
1 files changed, 3 insertions, 3 deletions
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)) {