Fix build error on Raspberry PI 3 Model B+

master
Jeremy HU 2019-07-09 18:12:08 +09:30 committed by GitHub
parent 3ee492f623
commit ab5e53fb54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -144,7 +144,9 @@ void ModelWidget::paintGL()
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glEnable(GL_DEPTH_TEST); glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE); glEnable(GL_CULL_FACE);
#ifdef GL_LINE_SMOOTH
glEnable(GL_LINE_SMOOTH); glEnable(GL_LINE_SMOOTH);
#endif
m_world.setToIdentity(); m_world.setToIdentity();
m_world.rotate(m_xRot / 16.0f, 1, 0, 0); m_world.rotate(m_xRot / 16.0f, 1, 0, 0);