View Full Version : display list's query
if after i created a display list and decided not to use it, will the display list still be stored in memory?
cwc36
12-09-2003, 04:15 PM
Hi,
Yes! the display list woundn't free from the memory until you call this function to delete the list.
//list= name of the display list
//range = number of the display list
void glDeleteLists( GLuint list, GLsizei range);
Hope it can help.
[This message has been edited by cwc36 (edited 12-09-2003).]
maximian
12-10-2003, 07:55 AM
Alternatively: if you do not wish to delete the id generated glGenList, then also
glNewList
..do nothing here
glEndList
Will empty out the list and should free up the memory, while keeping the id
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.