View Full Version : glGenList quick question
02-05-2010, 05:39 PM
Hi, Does it make sense performance wise to put a for loop in a glNewList call or will this defeate the pourpose?
02-06-2010, 07:19 PM
Yes it is fine to put a loop in the glNewList since you only do that once and the GL commands are "compiled" and stored. Then when you start to use the glCallList repeatedly to draw to the screen the for loop itself is not used.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.