mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
- all non-shader related GL calls are gone from the main code base.
This commit is contained in:
parent
f992aebf33
commit
ae1e090716
20 changed files with 160 additions and 169 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue