Removed Tex2DMS functions.

This commit is contained in:
Leonardo Zide
2021-01-09 18:01:03 -08:00
parent a0867c9b80
commit 6bfc4ff9b1
5 changed files with 2 additions and 35 deletions
-23
View File
@@ -42,7 +42,6 @@ lcContext::lcContext()
mColorEnabled = false;
mTexture2D = 0;
mTexture2DMS = 0;
mTextureCubeMap = 0;
mPolygonOffset = lcPolygonOffset::None;
mDepthWrite = true;
@@ -386,13 +385,6 @@ void lcContext::SetDefaultState()
glBindTexture(GL_TEXTURE_2D, 0);
mTexture2D = 0;
#ifndef LC_OPENGLES
if (gSupportsTexImage2DMultisample)
{
glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, 0);
mTexture2DMS = 0;
}
#endif
glBindTexture(GL_TEXTURE_CUBE_MAP, 0);
mTextureCubeMap = 0;
@@ -439,7 +431,6 @@ void lcContext::ClearResources()
ClearVertexBuffer();
ClearIndexBuffer();
BindTexture2D(0);
BindTexture2DMS(0);
}
void lcContext::SetMaterial(lcMaterialType MaterialType)
@@ -566,20 +557,6 @@ void lcContext::BindTexture2D(GLuint Texture)
mTexture2D = Texture;
}
void lcContext::BindTexture2DMS(GLuint Texture)
{
if (mTexture2DMS == Texture)
return;
#ifndef LC_OPENGLES
if (gSupportsTexImage2DMultisample)
{
glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, Texture);
mTexture2DMS = Texture;
}
#endif
}
void lcContext::BindTextureCubeMap(GLuint Texture)
{
if (mTextureCubeMap == Texture)