[Change] Black space in object viewer.

This commit is contained in:
Rtch90 2017-12-23 19:30:34 +00:00
parent 70ef1701cf
commit a52fc3a1a4

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();