mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- actually call the model animation timer somewhere.
Now models also animate properly. :)
This commit is contained in:
parent
25ef58f897
commit
396e3cd524
3 changed files with 4 additions and 1 deletions
|
@ -900,6 +900,8 @@ enum EHitBits
|
|||
kHitSprite = 0xC000,
|
||||
};
|
||||
|
||||
void updateModelInterpolation();
|
||||
|
||||
|
||||
#include "iterators.h"
|
||||
|
||||
|
|
|
@ -1676,7 +1676,7 @@ static void mdfree(mdmodel_t *vm)
|
|||
if (vm->mdnum == 2 || vm->mdnum == 3) { md3free((md3model_t *)vm); return; }
|
||||
}
|
||||
|
||||
static void updateModelInterpolation()
|
||||
void updateModelInterpolation()
|
||||
{
|
||||
// sigh...
|
||||
omdtims = mdtims;
|
||||
|
|
|
@ -376,6 +376,7 @@ void Display()
|
|||
screen->FrameTime = I_msTimeFS();
|
||||
screen->BeginFrame();
|
||||
screen->SetSceneRenderTarget(gl_ssao != 0);
|
||||
updateModelInterpolation();
|
||||
gi->Render();
|
||||
DrawFullscreenBlends();
|
||||
drawMapTitle();
|
||||
|
|
Loading…
Reference in a new issue