Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GraPa
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kai Westerkamp
GraPa
Commits
20755150
Commit
20755150
authored
Jan 24, 2016
by
Kai Westerkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Laptop
parent
45408bb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
.gitignore
.gitignore
+2
-10
mainwidget.cpp
A5/Animation/mainwidget.cpp
+4
-2
No files found.
.gitignore
View file @
20755150
/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
A5/Animation/mainwidget.cpp
View file @
20755150
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment