From 16ca2f95c83740a523deaeeef7cf5700c171f40b Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Sun, 23 Jun 2019 16:44:03 -0500 Subject: [PATCH] slang: Macro out printuniforms function. --- shaders/slang.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shaders/slang.cpp b/shaders/slang.cpp index bd634a91..fa2bfef7 100644 --- a/shaders/slang.cpp +++ b/shaders/slang.cpp @@ -42,6 +42,7 @@ std::string GLSLShader::slang_get_stage(std::vector &lines, return output.str(); } +#if 0 static void printuniforms(std::vector &unif) { for (int i = 0; i < (int)unif.size(); i++) @@ -80,6 +81,7 @@ static void printuniforms(std::vector &unif) } } } +#endif // #if 0 namespace glslang { #ifndef _WIN32