TextureLoadOptions+fix DT bug+remove SetAttribute

This commit is contained in:
bloeys
2022-07-02 21:38:48 +04:00
parent e1bf0697fc
commit 51057b8a0d
6 changed files with 45 additions and 39 deletions

View File

@ -43,7 +43,7 @@ func FrameEnded() {
//Calculate new dt
dt = float32(time.Since(frameStart).Seconds())
if dt == 0 {
dt = float32(time.Microsecond)
dt = float32(time.Microsecond.Seconds())
}
}