mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-27 05:30:56 +00:00
Renamed PushSpriteFrame to PushSpriteMDLFrame for consistency.
This commit is contained in:
parent
8bbc04a46f
commit
6014bde3d0
3 changed files with 3 additions and 3 deletions
|
@ -934,7 +934,7 @@ void gl_RenderFrameModels( const FSpriteModelFrame *smf,
|
||||||
mdl->BuildVertexBuffer();
|
mdl->BuildVertexBuffer();
|
||||||
gl_RenderState.SetVertexBuffer(mdl->mVBuf);
|
gl_RenderState.SetVertexBuffer(mdl->mVBuf);
|
||||||
|
|
||||||
mdl->PushSpriteFrame(smf, i);
|
mdl->PushSpriteMDLFrame(smf, i);
|
||||||
|
|
||||||
if ( smfNext && smf->modelframes[i] != smfNext->modelframes[i] )
|
if ( smfNext && smf->modelframes[i] != smfNext->modelframes[i] )
|
||||||
mdl->RenderFrame(tex, smf->modelframes[i], smfNext->modelframes[i], inter, translation);
|
mdl->RenderFrame(tex, smf->modelframes[i], smfNext->modelframes[i], inter, translation);
|
||||||
|
|
|
@ -47,7 +47,7 @@ public:
|
||||||
|
|
||||||
const FSpriteModelFrame *curSpriteMDLFrame;
|
const FSpriteModelFrame *curSpriteMDLFrame;
|
||||||
int curMDLIndex;
|
int curMDLIndex;
|
||||||
void PushSpriteFrame(const FSpriteModelFrame *smf, int index) { curSpriteMDLFrame = smf; curMDLIndex = index; };
|
void PushSpriteMDLFrame(const FSpriteModelFrame *smf, int index) { curSpriteMDLFrame = smf; curMDLIndex = index; };
|
||||||
|
|
||||||
FModelVertexBuffer *mVBuf;
|
FModelVertexBuffer *mVBuf;
|
||||||
FString mFileName;
|
FString mFileName;
|
||||||
|
|
|
@ -1113,7 +1113,7 @@ void FGLInterface::Precache(BYTE *texhitlist, TMap<PClassActor*, bool> &actorhit
|
||||||
}
|
}
|
||||||
else if (smf->modelIDs[i] != -1)
|
else if (smf->modelIDs[i] != -1)
|
||||||
{
|
{
|
||||||
Models[smf->modelIDs[i]]->PushSpriteFrame(smf, i);
|
Models[smf->modelIDs[i]]->PushSpriteMDLFrame(smf, i);
|
||||||
Models[smf->modelIDs[i]]->AddSkins(texhitlist);
|
Models[smf->modelIDs[i]]->AddSkins(texhitlist);
|
||||||
}
|
}
|
||||||
if (smf->modelIDs[i] != -1)
|
if (smf->modelIDs[i] != -1)
|
||||||
|
|
Loading…
Reference in a new issue