LWJGL
June 18, 2013, 20:06:25 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: newbie on the loose...color and their removal  (Read 3120 times)
Soulice
Newbie
*
Posts: 14


« on: September 30, 2004, 10: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...
Logged

S
princec
Nerdus Imperius
*****
Posts: 1870



WWW
« Reply #1 on: September 30, 2004, 11:05:56 »

glColor3f(1.0f, 1.0f, 1.0f);

ie. put it back to white.

Cas Smiley
Logged

Soulice
Newbie
*
Posts: 14


« Reply #2 on: October 01, 2004, 06:09:09 »

On to the next.  

 Cheesy
Logged

S
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!