Hello Guest

newbie on the loose...color and their removal

  • 2 Replies
  • 8657 Views
newbie on the loose...color and their removal
« 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...
S

*

Offline princec

  • *****
  • 1933
    • Puppygames
newbie on the loose...color and their removal
« Reply #1 on: September 30, 2004, 18:05:56 »
glColor3f(1.0f, 1.0f, 1.0f);

ie. put it back to white.

Cas :)

Beautiful
« Reply #2 on: October 01, 2004, 13:09:09 »
On to the next.  

 :D
S