[Change] Black space in object viewer.
This commit is contained in:
parent
8ceed6bfe8
commit
8428a7e892
@ -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