From eca7d34f1d2164ebfb56d5870acca6dceda42c37 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Fri, 4 Mar 2011 19:33:13 +0000 Subject: [PATCH] fix () warning git-svn-id: http://skia.googlecode.com/svn/trunk@889 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gpu/src/GrGpuGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu/src/GrGpuGL.cpp b/gpu/src/GrGpuGL.cpp index 2574b15..1e9d7bf 100644 --- a/gpu/src/GrGpuGL.cpp +++ b/gpu/src/GrGpuGL.cpp @@ -264,7 +264,7 @@ GrGpuGL::GrGpuGL() { fTwoSidedStencilSupport = (major >= 2); // supported on GL 1.4 and higher or by extension fStencilWrapOpsSupport = (major > 1) || - (1 == major) && (minor >= 4) || + ((1 == major) && (minor >= 4)) || has_gl_extension("GL_EXT_stencil_wrap"); #else // ES 2 has two sided stencil but 1.1 doesn't. There doesn't seem to be -- 2.7.4