remove OpenGL 2.x call, it breaks Mac OSX
This commit is contained in:
@@ -1816,7 +1816,7 @@ void GLInstancingRenderer::CleanupShaders()
|
|||||||
void GLInstancingRenderer::enableShadowMap()
|
void GLInstancingRenderer::enableShadowMap()
|
||||||
{
|
{
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
glEnable(GL_TEXTURE_2D);
|
//glEnable(GL_TEXTURE_2D);
|
||||||
glBindTexture(GL_TEXTURE_2D, m_data->m_shadowTexture);
|
glBindTexture(GL_TEXTURE_2D, m_data->m_shadowTexture);
|
||||||
//glBindTexture(GL_TEXTURE_2D, m_data->m_defaultTexturehandle);
|
//glBindTexture(GL_TEXTURE_2D, m_data->m_defaultTexturehandle);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user