diff --git a/src/graphics/opengl33/glutil.cpp b/src/graphics/opengl33/glutil.cpp index e327142a..00fa256b 100644 --- a/src/graphics/opengl33/glutil.cpp +++ b/src/graphics/opengl33/glutil.cpp @@ -329,7 +329,7 @@ std::string LoadSource(const std::string& path) if (file == nullptr) { GetLogger()->Error("Cannot read shader source file\n"); - GetLogger()->Error("Missing file \"%s\"\n", path); + GetLogger()->Error("Missing file \"%s\"\n", path.c_str()); return {}; }