Destroy white texture in GL14 device on exit
parent
d812db19f8
commit
17bcbddef1
|
@ -393,6 +393,8 @@ void CGLDevice::Destroy()
|
||||||
// Delete the remaining textures
|
// Delete the remaining textures
|
||||||
// Should not be strictly necessary, but just in case
|
// Should not be strictly necessary, but just in case
|
||||||
DestroyAllTextures();
|
DestroyAllTextures();
|
||||||
|
glDeleteTextures(1, &m_whiteTexture);
|
||||||
|
m_whiteTexture = 0;
|
||||||
|
|
||||||
m_lights.clear();
|
m_lights.clear();
|
||||||
m_lightsEnabled.clear();
|
m_lightsEnabled.clear();
|
||||||
|
|
Loading…
Reference in New Issue