Index: src/gpu/gl/GrGLProgramDesc.h |
diff --git a/src/gpu/gl/GrGLProgramDesc.h b/src/gpu/gl/GrGLProgramDesc.h |
index 8c441b09e01df5c7aa330a6325d420d14006ea58..495a2250ccc2617c27c070bc04c323dc6952b9e2 100644 |
--- a/src/gpu/gl/GrGLProgramDesc.h |
+++ b/src/gpu/gl/GrGLProgramDesc.h |
@@ -14,9 +14,13 @@ |
class GrGpuGL; |
-// optionally compile the experimental GS code. Set to GR_DEBUG so that debug build bots will |
-// execute the code. |
-#define GR_GL_EXPERIMENTAL_GS GR_DEBUG |
+#ifdef SK_DEBUG |
+ // Optionally compile the experimental GS code. Set to SK_DEBUG so that debug build bots will |
+ // execute the code. |
+ #define GR_GL_EXPERIMENTAL_GS 1 |
+#else |
+ #define GR_GL_EXPERIMENTAL_GS 0 |
+#endif |
/** This class describes a program to generate. It also serves as a program cache key. Very little |