Commit 3711b552 authored by Matthias Möller's avatar Matthias Möller
Browse files

fix type conversion (compile error on gcc)

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 49a608f4
......@@ -515,9 +515,9 @@ GLSL::Program* ACG::ShaderCache::getComputeProgram(const char* _computeShaderFil
QString fnv_string;
fnv_string.sprintf("%X", fnv_hash);
QString dumpFilename = dbgOutputDir_ + QDir::separator() + fileInfo.fileName() + fnv_string;
std::string dumpFilename = QString(dbgOutputDir_ + QDir::separator() + fileInfo.fileName() + fnv_string).toStdString();
std::ofstream dumpStream(dumpFilename.toStdString());
std::ofstream dumpStream(dumpFilename.c_str());
if (dumpStream.is_open())
for (GLSL::StringList::iterator it = shaderSrc.begin(); it != shaderSrc.end(); ++it)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment