Removed apparently-incorrect use of logging statements (crashing under Visual Studio).

This commit is contained in:
David Williams 2014-05-30 16:36:24 +02:00
parent 224c27de50
commit 4f1863eccb

View File

@ -133,16 +133,12 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
std::cout << shader->log().toStdString() << std::endl;
if (!shader->addShaderFromSourceFile(QGLShader::Fragment, ":/decode.frag"))
{
std::cerr << shader->log().toStdString() << std::endl;
exit(EXIT_FAILURE);
}
std::cout << shader->log().toStdString() << std::endl;
openGLWidget.setShader(shader);
//Create an empty volume and then place a sphere in it