• Advertisement
Sign in to follow this  

GL_COMPILE vs GL_COMPILE_AND_EXECUTE

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

What is the difference between GL_COMPILE and GL_COMPILE_AND_EXECUTE when making lists?

Share this post


Link to post
Share on other sites
Advertisement
When compiling only, commands are not executed, just recorded and stored in the display list. With compile and execute, the commands are both executed AND stored in the display list.

You can see the compile and execute as just a compile followed by a call to the display list.

Share this post


Link to post
Share on other sites
Bun when you call a display list don't you see the result of it?

Share this post


Link to post
Share on other sites
Quote:
Original post by Daos
Bun when you call a display list don't you see the result of it?


When you call it, yes. Not when you create it - unless you choose GL_COMPILE_AND_EXECUTE.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement