Skip to content

Commit

Permalink
Made the canvas background color change on device loss
Browse files Browse the repository at this point in the history
  • Loading branch information
toji committed Oct 21, 2024
1 parent 03040ea commit 024ffab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device-loss.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
view: undefined,
resolveTarget: undefined,

clearValue: { r: 0.0, g: 0.0, b: 0.3, a: 1.0 },
clearValue: { r: Math.random() * 0.5, g: Math.random() * 0.5, b: Math.random() * 0.5, a: 1.0 },
loadOp: 'clear',
storeOp: 'store'
};
Expand Down

0 comments on commit 024ffab

Please sign in to comment.