LWJGL Forum

Programming => OpenGL => Topic started by: Soulice on September 30, 2004, 17:09:06

Title: newbie on the loose...color and their removal
Post by: Soulice on September 30, 2004, 17:09:06
ok, here is the scene.  Draw texture triangles, draw other stuff, then draw a line strip after setting glColorf to green.  Now all my stuff on screen is green.  glClearColor is used for setting the background clear color, right?

So how does one stop the green after the line strip?
thanks a ton in advance...
Title: newbie on the loose...color and their removal
Post by: princec on September 30, 2004, 18:05:56
glColor3f(1.0f, 1.0f, 1.0f);

ie. put it back to white.

Cas :)
Title: Beautiful
Post by: Soulice on October 01, 2004, 13:09:09
On to the next.  

:D