Commit 20755150 by Kai Westerkamp

Laptop

parent 45408bb6
/A1/build-hellocube-Desktop_Qt_5_4_2_MSVC2013_OpenGL_64bit-Debug
/build-hellocube-Desktop_Qt_5_4_2_MSVC2013_OpenGL_64bit-Debug
/build-hellocube-Desktop_Qt_5_5_1_MinGW_32bit-Debug
/build-hellocube-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug
*.user
build-hellocube-Desktop_Qt_5_4_2_MinGW_32bit2-Debug
build-hellocube-Desktop_Qt_5_4_2_MSVC2013_OpenGL_64bit-Debug
build-hellocube-Desktop_Qt_5_4_2_MSVC2013_OpenGL_64bit-Release
/A4/hellocube.pro.user
*.zip
/A5/build-Animation-Desktop_Qt_5_5_1_MinGW_32bit-Debug
/assimp-3.1.1-win-binaries
/A5/build-Animation-Desktop_Qt_5_4_2_MSVC2013_OpenGL_64bit-Debug
/A5/build-Animation-Desktop_Qt_5_5_1_MinGW_32bit-Release
*build-*
\ No newline at end of file
......@@ -31,9 +31,11 @@ void MainWidget::wheelEvent(QWheelEvent *event )
void MainWidget::initializeGL(){
bool glFunctionsOK = initializeOpenGLFunctions();
Q_ASSERT(glFunctionsOK);
if(!glFunctionsOK)
//Q_ASSERT(glFunctionsOK);
if(!glFunctionsOK){
qDebug()<<"ContextFormat"<<this->context()->format();
exit(4);
}
glClearColor(0.0, 0.0, 0.0, 0.0);
glEnable(GL_DEPTH_TEST);
......
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