Jump to content
  • Advertisement


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


Display List questions:

This topic is 5155 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

Hello there! I'm just wondering, is it necessary to put a glBegin() and glEnd() in each display list?? I mean, if there's no texturebinding going on, would this work? or perhaps a display list without glBegin would do nothing? but if I put:
  for (int i=0; i < 5000; i ++)
   glCallList(BigNastyBox);  //big nasty box is built WITHOUT glbegin();

do you think this would work? I'm not able to test it right now, so if anyone got a quick answer, please let me know! Cheers! [edited by - Rasmadrak on April 16, 2004 12:35:48 PM]

Share this post

Link to post
Share on other sites
The display list is just a container of OpenGL commands, nothing more. There''s nothing wrong with not having glBegin/glEnd in there, but if you don''t have them there, you have to manually put them around the call to the display list.

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!