Removed apparently-incorrect use of logging statements (crashing under Visual Studio).
This commit is contained in:
parent
224c27de50
commit
4f1863eccb
@ -133,16 +133,12 @@ int main(int argc, char *argv[])
|
|||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cout << shader->log().toStdString() << std::endl;
|
|
||||||
|
|
||||||
if (!shader->addShaderFromSourceFile(QGLShader::Fragment, ":/decode.frag"))
|
if (!shader->addShaderFromSourceFile(QGLShader::Fragment, ":/decode.frag"))
|
||||||
{
|
{
|
||||||
std::cerr << shader->log().toStdString() << std::endl;
|
std::cerr << shader->log().toStdString() << std::endl;
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cout << shader->log().toStdString() << std::endl;
|
|
||||||
|
|
||||||
openGLWidget.setShader(shader);
|
openGLWidget.setShader(shader);
|
||||||
|
|
||||||
//Create an empty volume and then place a sphere in it
|
//Create an empty volume and then place a sphere in it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user