Set clear screen color

BlitzMax Forums/OpenGL Module/Set clear screen color

Ferret(Posted 2011) [#1]
How do i get glClearColor() to work?
Changing the values in mi code has no effect, what am i doing wrong?



AdamRedwoods(Posted 2011) [#2]
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



Ferret(Posted 2011) [#3]
Thank you!