Code cleanup
Comments
This commit is contained in:
parent
ac957ef8af
commit
165e20db9e
7 changed files with 16 additions and 13 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue