Yet another iteration in the quest of a portable qt+antttweakbar example...

This commit is contained in:
Paolo Cignoni 2012-10-08 05:52:54 +00:00
parent 8e1176d803
commit c22ebbf304
2 changed files with 1 additions and 2 deletions

View File

@ -98,6 +98,7 @@ GLWidget::GLWidget(QWidget *parent)
void GLWidget::initializeGL ()
{
glewInit();
glClearColor(0, 0, 0, 0);
glEnable(GL_LIGHTING);
glEnable(GL_LIGHT0);

View File

@ -46,8 +46,6 @@
#include <QKeyEvent>
/// vcg imports
#include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/face/base.h>
#include <vcg/complex/complex.h>
#include <vcg/complex/algorithms/update/bounding.h>
#include <vcg/complex/algorithms/update/normal.h>