Skip to content

Commit 588e04b

Browse files
committed
remove unused stuff
1 parent 6667f80 commit 588e04b

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

sp/src/game/shared/env_projectedvideo.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -259,16 +259,6 @@ void CEnvProjectedVideo::ClientThink()
259259

260260
RenderVideoToTexture();
261261

262-
float curTime = m_pVideoMaterial->GetCurrentVideoTime();
263-
//float duration = m_pVideoMaterial->GetVideoDuration();
264-
//ConMsg( "Time: %f / %f\n", curTime, duration );
265-
266-
const float EPS = 1e-4f;
267-
if (m_flLastVideoTime < 0.0f || fabsf(curTime - m_flLastVideoTime) > EPS)
268-
{
269-
m_flLastVideoTime = curTime;
270-
}
271-
272262
// Think at ~30fps instead of every engine tick to reduce load
273263
SetNextClientThink(gpGlobals->curtime + 0.03f);
274264
}

0 commit comments

Comments
 (0)