Shaders: MSVC wants this explicit.

This commit is contained in:
Brandon Wright 2019-01-30 12:53:47 -06:00
parent a3149db714
commit c74b643554
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ void GLSLShader::read_shader_file_with_includes(std::string filename,
std::vector<std::string> &lines, std::vector<std::string> &lines,
int p) int p)
{ {
std::ifstream ss(filename); std::ifstream ss(filename.c_str());
if (ss.fail()) if (ss.fail())
{ {