Code cleanup

Comments
This commit is contained in:
Sascha Willems 2023-12-28 20:37:39 +01:00
parent ac957ef8af
commit 165e20db9e
7 changed files with 16 additions and 13 deletions

View file

@ -670,8 +670,6 @@ public:
void updateComputeUBO()
{
if (!paused) {
//compute.ubo.deltaT = 0.000005f;
// todo: base on frametime
// SRS - Clamp frameTimer to max 20ms refresh period (e.g. if blocked on resize), otherwise image breakup can occur
compute.ubo.deltaT = fmin(frameTimer, 0.02f) * 0.0025f;