PDA

View Full Version : glTexEnvi global?



Jeffg
10-29-2010, 11:25 AM
Is glTexEnvi a global variable that I just need to run once or do I need to execute it in each frame prior to drawing my point sprites.

glTexEnvi(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE);

strattonbrazil
10-29-2010, 03:47 PM
Yes, glTexEnvi is global and only need to be called on explicit changes to the texture environment.