Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Aargyle

Vertex Arrays and glEnableClientState

This topic is 5251 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Are glEnableClientState and glDisableClient state intended to be called once per frame when drawing vertex arrays, or once at program init and once at program deinit? The red book isn''t very clear on that point. I''d like to avoid doing it on every frame, if it is possible. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
If you always intend on drawing the same parts all the time then i guess you could init once at the start and deinit at the end, however i doubt the calls are that expensive so its probably a non-issue anyways

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!