- moved matrices to render state.

This commit is contained in:
Christoph Oelckers 2020-01-03 23:38:50 +01:00
parent 9de5814063
commit d4b32c535a
7 changed files with 47 additions and 79 deletions

View file

@ -1189,7 +1189,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
GLInterface.SetDepthFunc(Depth_Less);
}
VSMatrix identity(0);
GLInterface.SetMatrix(Matrix_ModelView, &identity);
GLInterface.SetIdentityMatrix(Matrix_ModelView);
GLInterface.SetFadeDisable(false);
GLInterface.SetTinting(0, 0, PalEntry(255, 255, 255));
return 1;