Index: src/sksl/SkSLMain.cpp |
diff --git a/src/sksl/SkSLMain.cpp b/src/sksl/SkSLMain.cpp |
index fe925e0c6e2c42c1febeef74d3df4619a22dfb64..eb07b4d0323e584df810e60e20667a64b3ceb512 100644 |
--- a/src/sksl/SkSLMain.cpp |
+++ b/src/sksl/SkSLMain.cpp |
@@ -16,18 +16,6 @@ bool endsWith(const std::string& s, const std::string& ending) { |
return false; |
} |
-static SkSL::GLCaps default_caps() { |
- return { |
- 400, |
- SkSL::GLCaps::kGL_Standard, |
- false, // isCoreProfile |
- false, // usesPrecisionModifiers; |
- false, // mustDeclareFragmentShaderOutput |
- true, // canUseMinAndAbsTogether |
- false // mustForceNegatedAtanParamToFloat |
- }; |
-} |
- |
/** |
* Very simple standalone executable to facilitate testing. |
*/ |
@@ -69,7 +57,7 @@ int main(int argc, const char** argv) { |
} else if (endsWith(name, ".glsl")) { |
std::ofstream out(argv[2], std::ofstream::binary); |
SkSL::Compiler compiler; |
- if (!compiler.toGLSL(kind, text, default_caps(), out)) { |
+ if (!compiler.toGLSL(kind, text, SkSL::GLCaps(), out)) { |
printf("%s", compiler.errorText().c_str()); |
exit(3); |
} |