remove old deprecated calls and fixed functions parameters

This commit is contained in:
degasus
2013-01-14 17:48:38 +01:00
parent c3aafc77b3
commit adeac6f4a5
4 changed files with 5 additions and 19 deletions

View File

@ -429,7 +429,6 @@ Renderer::Renderer()
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClearDepth(1.0f);
glEnable(GL_DEPTH_TEST);
glDisable(GL_LIGHTING);
glDepthFunc(GL_LEQUAL);
glPixelStorei(GL_UNPACK_ALIGNMENT, 4); // 4-byte pixel alignment
@ -441,11 +440,6 @@ Renderer::Renderer()
glBlendColor(0, 0, 0, 0.5f);
glClearDepth(1.0f);
// legacy multitexturing: select texture channel only.
glActiveTexture(GL_TEXTURE0);
glClientActiveTexture(GL_TEXTURE0);
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
UpdateActiveConfig();
//return GL_REPORT_ERROR() == GL_NO_ERROR && bSuccess;