M
M
Makaleks2014-04-23 20:00:55
OpenGL
Makaleks, 2014-04-23 20:00:55

How to remove a display list in OpenGL?

Problem:
There are display lists. We set the beginning of the list, its identifier and the end. All teams between start and end are compiled and stored somewhere using OpenGL - we can access the list from anywhere in the program

Is it possible to delete a display list?

Or can we at most redefine the old identifier for another list?
In other words, am I polluting memory if I create lists with the same ID multiple times?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Makaleks, 2014-07-24
@Makaleks

Deleting display lists - void glDeleteLists(GLuint lis t,GLsizei range );
Check if an identifier is busy - GLboolean glIsList(GLuint list );
Using the identifier of the old list when creating a new list allegedly leads to a simple overwrite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question