04-25-2005, 10:12 PM
If I go through the steps to create a OpenGL device using wglCreateContext(), and then
I create several textures and/or display lists using this device, what will happen if
I call wglDeleteContext() to delete it? Will it cleanup everything (textures, display lists,etc..)
by itself, or will it choke and create a memory leak and crash? The docs don't say
if this function does any cleanup or not.
I create several textures and/or display lists using this device, what will happen if
I call wglDeleteContext() to delete it? Will it cleanup everything (textures, display lists,etc..)
by itself, or will it choke and create a memory leak and crash? The docs don't say
if this function does any cleanup or not.