Skip to content

Commit

Permalink
fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhxx1987 committed Mar 24, 2022
1 parent 4fd2cb8 commit 3e3d11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenvis/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ static void my_paint_graphics() {
CHECK_GL(glClearColor(bgcolor.r, bgcolor.g, bgcolor.b, 0.0f));
CHECK_GL(glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT));
float range[] = {g_near, 500, 1000, 2000, 8000, g_far};
for(int i=6; i>=1; i--)
for(int i=5; i>=1; i--)
{
CHECK_GL(glClearColor(bgcolor.r, bgcolor.g, bgcolor.b, 0.0f));
CHECK_GL(glClear(GL_DEPTH_BUFFER_BIT));
Expand Down

0 comments on commit 3e3d11e

Please sign in to comment.