- GetTimeFloat is not renderer specific
This commit is contained in:
parent
bfe6bffd33
commit
49c9de350f
8 changed files with 7 additions and 20 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue