Avoid checking to see if a bool is less than zero.
Create a symbolic name for -1 when it means "don't know, probe at runtime".
git-svn-id: http://skia.googlecode.com/svn/trunk@1606 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/unix/GrGLDefaultInterface_unix.cpp b/gpu/src/unix/GrGLDefaultInterface_unix.cpp
index f58b215..2e233e0 100644
--- a/gpu/src/unix/GrGLDefaultInterface_unix.cpp
+++ b/gpu/src/unix/GrGLDefaultInterface_unix.cpp
@@ -40,7 +40,7 @@
return;
}
- gDefaultInterface.fNPOTRenderTargetSupport = 1;
+ gDefaultInterface.fNPOTRenderTargetSupport = true;
gDefaultInterface.fMinRenderTargetHeight = 1;
gDefaultInterface.fMinRenderTargetWidth = 1;