Commit 6cdb8a8a authored by Jan Möbius's avatar Jan Möbius

Fixed VS2010 Build error

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9080 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6cd122f9
......@@ -410,8 +410,8 @@ glViewer::updateScenePhilipsStereo()
QString vshaderFile = OpenFlipper::Options::shaderDirStr() + QDir::separator() + "Philips/Vertex.glsl";
QString fshaderFile = OpenFlipper::Options::shaderDirStr() + QDir::separator() + "Philips/Fragment42.glsl";
vertexShader = GLSL::loadVertexShader(vshaderFile.toStdString().c_str());
fragmentShader = GLSL::loadFragmentShader(fshaderFile.toStdString().c_str());
vertexShader = GLSL::loadVertexShader(vshaderFile.toUtf8());
fragmentShader = GLSL::loadFragmentShader(fshaderFile.toUtf8());
pProgram_ = GLSL::PtrProgram(new GLSL::Program());
if ((vertexShader == 0) || (fragmentShader == 0) || (pProgram_ == 0)) {
......
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