- GetTimeFloat is not renderer specific

This commit is contained in:
Magnus Norddahl 2018-05-07 00:40:12 +02:00
commit 49c9de350f
8 changed files with 7 additions and 20 deletions

View file

@ -146,11 +146,6 @@ void FGLModelRenderer::DrawElements(int numIndices, size_t offset)
glDrawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_INT, (void*)(intptr_t)offset);
}
double FGLModelRenderer::GetTimeFloat()
{
return (double)I_msTime() * (double)TICRATE / 1000.;
}
//===========================================================================
//
// Uses a hardware buffer if either single frame (i.e. no interpolation needed)