File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -892,7 +892,7 @@ fn main(@location(0) inColor: vec3<f32>) -> @location(0) vec4<f32> {
892892 (config :: GPUCanvasConfiguration ) = x
893893 { device
894894 , format: GPUTextureFormat .bgra8unorm
895- , usage: GPUTextureUsage .renderAttachment
895+ , usage: GPUTextureUsage .renderAttachment
896896 , alphaMode: opaque
897897 }
898898 liftEffect $ configure context config
@@ -1072,7 +1072,10 @@ fn main(@location(0) inColor: vec3<f32>) -> @location(0) vec4<f32> {
10721072 avgTn <- timeDeltaAverager (tnx - tn)
10731073 avgCf <- frameDeltaAverager (toNumber (cfx - cf))
10741074 setTextContent
1075- (" Delta time: " <> show (toStringWith (precision 2 ) avgTn) <> " , Delta frames: " <> show (toStringWith (precision 2 ) avgCf))
1075+ ( " Delta time: " <> show (toStringWith (precision 2 ) avgTn)
1076+ <> " , Delta frames: "
1077+ <> show (toStringWith (precision 2 ) avgCf)
1078+ )
10761079 (toNode renderStats)
10771080 unmap buf
10781081 void $ liftST $ STArray .push buf outputBuffers
You can’t perform that action at this time.
0 commit comments