From d016dbd5e45709a000d1592ad5f27e01c4566d9e Mon Sep 17 00:00:00 2001 From: helixhorned Date: Thu, 27 Oct 2011 13:13:51 +0000 Subject: [PATCH] Comment out some unnecessary lines in animvpx.c git-svn-id: https://svn.eduke32.com/eduke32@2083 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/animvpx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/polymer/eduke32/source/animvpx.c b/polymer/eduke32/source/animvpx.c index acd171957..16a72a6a3 100644 --- a/polymer/eduke32/source/animvpx.c +++ b/polymer/eduke32/source/animvpx.c @@ -378,18 +378,18 @@ void animvpx_setup_glstate(void) bglPushAttrib(GL_ENABLE_BIT); bglDisable(GL_ALPHA_TEST); - bglDisable(GL_LIGHTING); +// bglDisable(GL_LIGHTING); bglDisable(GL_DEPTH_TEST); bglDisable(GL_BLEND); bglDisable(GL_CULL_FACE); - bglDisable(GL_SCISSOR_TEST); +// bglDisable(GL_SCISSOR_TEST); bglEnable(GL_TEXTURE_2D); bglActiveTextureARB(GL_TEXTURE0_ARB); bglGenTextures(1, &texname); - gli = bglGetUniformLocationARB(PHandle,"tex"); - bglUniform1iARB(gli,0); // 0: texture unit +// gli = bglGetUniformLocationARB(PHandle,"tex"); +// bglUniform1iARB(gli,0); // 0: texture unit bglBindTexture(GL_TEXTURE_2D, texname); bglTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);