From 4f1863eccbe349b304297a65170c744cad847a7d Mon Sep 17 00:00:00 2001 From: David Williams Date: Fri, 30 May 2014 16:36:24 +0200 Subject: [PATCH] Removed apparently-incorrect use of logging statements (crashing under Visual Studio). --- examples/DecodeOnGPU/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/DecodeOnGPU/main.cpp b/examples/DecodeOnGPU/main.cpp index f286efc2..3826543d 100644 --- a/examples/DecodeOnGPU/main.cpp +++ b/examples/DecodeOnGPU/main.cpp @@ -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