Set clear screen color
BlitzMax Forums/OpenGL Module/Set clear screen color| 
 | ||
| How do i get glClearColor() to work? Changing the values in mi code has no effect, what am i doing wrong? | 
| 
 | ||
| glClearColor(1.0, 0.0, 0.0, 0.0) glClearDepth(1.0) glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) ''this does the actual clearing | 
| 
 | ||
| Thank you! |