Skip to content

Commit 56125d4

Browse files
author
Mike Solomon
committed
Improves formatting
1 parent 32b8de2 commit 56125d4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sandbox/Sandbox.purs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)