[Change] Black space in object viewer.
This commit is contained in:
parent
70ef1701cf
commit
a52fc3a1a4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user