fix () warning
git-svn-id: http://skia.googlecode.com/svn/trunk@889 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
0bc7bf5fe4
commit
eca7d34f1d
@ -264,7 +264,7 @@ GrGpuGL::GrGpuGL() {
|
|||||||
fTwoSidedStencilSupport = (major >= 2);
|
fTwoSidedStencilSupport = (major >= 2);
|
||||||
// supported on GL 1.4 and higher or by extension
|
// supported on GL 1.4 and higher or by extension
|
||||||
fStencilWrapOpsSupport = (major > 1) ||
|
fStencilWrapOpsSupport = (major > 1) ||
|
||||||
(1 == major) && (minor >= 4) ||
|
((1 == major) && (minor >= 4)) ||
|
||||||
has_gl_extension("GL_EXT_stencil_wrap");
|
has_gl_extension("GL_EXT_stencil_wrap");
|
||||||
#else
|
#else
|
||||||
// ES 2 has two sided stencil but 1.1 doesn't. There doesn't seem to be
|
// ES 2 has two sided stencil but 1.1 doesn't. There doesn't seem to be
|
||||||
|
Loading…
Reference in New Issue
Block a user