From c74b64355462798a35c710aa194ee97663894743 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Wed, 30 Jan 2019 12:53:47 -0600 Subject: [PATCH] Shaders: MSVC wants this explicit. --- shaders/glsl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/glsl.cpp b/shaders/glsl.cpp index effffb40..b7906afd 100644 --- a/shaders/glsl.cpp +++ b/shaders/glsl.cpp @@ -312,7 +312,7 @@ void GLSLShader::read_shader_file_with_includes(std::string filename, std::vector &lines, int p) { - std::ifstream ss(filename); + std::ifstream ss(filename.c_str()); if (ss.fail()) {