mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 03:00:58 +00:00
- start renaming uniforms to match GZDoom.
Needed to allow using the same shader with the backend.
This commit is contained in:
parent
d92f56f36f
commit
d812c2997c
10 changed files with 34 additions and 41 deletions
|
@ -1647,7 +1647,7 @@ static int32_t polymost_md3draw(md3model_t *m, tspriteptr_t tspr)
|
|||
GLInterface.SetClamp(0);
|
||||
VSMatrix imat = 0;
|
||||
imat.scale(1024, 1024, 1024);
|
||||
auto matrixindex = GLInterface.SetMatrix(Matrix_Model, &imat);
|
||||
GLInterface.SetMatrix(Matrix_Model, &imat);
|
||||
|
||||
for (surfi=0; surfi<m->head.numsurfs; surfi++)
|
||||
{
|
||||
|
@ -1796,9 +1796,7 @@ static int32_t polymost_md3draw(md3model_t *m, tspriteptr_t tspr)
|
|||
|
||||
GLInterface.SetCull(Cull_None);
|
||||
|
||||
VSMatrix identity(0);
|
||||
GLInterface.RestoreMatrix(Matrix_Model, matrixindex);
|
||||
|
||||
GLInterface.SetIdentityMatrix(Matrix_Model);
|
||||
GLInterface.SetTinting(-1, 0xffffff, 0xffffff);
|
||||
GLInterface.SetClamp(prevClamp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue