mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Comment out some unnecessary lines in animvpx.c
git-svn-id: https://svn.eduke32.com/eduke32@2083 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cb950911a0
commit
d016dbd5e4
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue