Skip to content

Commit

Permalink
Fixed clearing on retina.
Browse files Browse the repository at this point in the history
  • Loading branch information
soulwire committed Nov 25, 2016
1 parent 1419c09 commit befffc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@

if ( is2D )

context.clearRect( 0, 0, context.width, context.height );
context.clearRect( 0, 0, context.width * ratio, context.height * ratio );
}

function destroy() {
Expand Down

0 comments on commit befffc3

Please sign in to comment.