- all non-shader related GL calls are gone from the main code base.

This commit is contained in:
Christoph Oelckers 2019-10-04 21:13:04 +02:00
parent f992aebf33
commit ae1e090716
20 changed files with 160 additions and 169 deletions

View file

@ -1085,12 +1085,8 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
}
if ((grhalfxdown10x >= 0) ^ ((globalorientation&8) != 0) ^ ((globalorientation&4) != 0))
glFrontFace(GL_CW);
else
glFrontFace(GL_CCW);
GLInterface.SetCull(Cull_Back);
int winding = ((grhalfxdown10x >= 0) ^ ((globalorientation & 8) != 0) ^ ((globalorientation & 4) != 0)) ? Winding_CW : Winding_CCW;
GLInterface.SetCull(Cull_Back, winding);
float pc[4];