Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

glEnableClientState usage?

Started by stefu Jan 8, 2003 at 6:55 AM 1 replies 300+ views
Original Post
stefu
stefu
Do you call glEnableClientState/glDisableClientState only once in session or always around glVertexArray & glDrawElements & stuff like that?
RacingTREME updated.
Brother Bob
Brother Bob
You call them when you need to. If you need them enabled the whole program, then it''s enough to enable them once (on startup for example). If you only need them for a short period, then only enable them when you need them (around glDrawElements for example).
stefu
stefu
Ok, just like I''m doing it atm.
Is it light very operation?



RacingTREME updated.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.