mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 05:18:21 +00:00
TextureLoadOptions+fix DT bug+remove SetAttribute
This commit is contained in:
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user