Added GenerateTexture, GenerateMipMapTexture and DeleteTexture to CommonFunctions

This commit is contained in:
Teejoon
2016-02-28 16:16:22 +01:00
parent d3a245606a
commit 9cbc6f7755
11 changed files with 74 additions and 85 deletions
+6
View File
@@ -16,6 +16,12 @@ Texture2D::~Texture2D()
}
}
Texture2DMultiSample::~Texture2DMultiSample()
{
if (m_ResourceHandle != 0) {
glDeleteTextures(1, m_ResourceHandle);
}
}
RenderBuffer::~RenderBuffer()
{