You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the render loop, glClear( GL_COLOR_BUFFER_BIT) is called. This leads to no output, which I was able to fix by changing to glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
The text was updated successfully, but these errors were encountered:
DrewImm
added a commit
to DrewImm/ogl
that referenced
this issue
Jan 15, 2019
https://github.com/opengl-tutorials/ogl/blob/master/tutorial03_matrices/tutorial03.cpp#L100
In the render loop,
glClear( GL_COLOR_BUFFER_BIT)
is called. This leads to no output, which I was able to fix by changing toglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
The text was updated successfully, but these errors were encountered: