View Full Version : glGenList quick question
02-05-2010, 06: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, 08: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.