[Change] Black space in object viewer.

This commit is contained in:
Allanis 2017-12-23 19:30:34 +00:00
parent 8ceed6bfe8
commit 8428a7e892

View File

@ -17,7 +17,7 @@ ObjectViewerView::ObjectViewerView(void) : View() {
void ObjectViewerView::Draw3D(void) {
static float rot;
rot += 0.1;
glClearColor(0, 0, 0.1, 0);
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();