Deprecate v1 urls, upgraded things

This commit is contained in:
Liran Nuna 2018-10-19 14:29:06 -07:00
parent 21a47e0c45
commit a674d6a79c
5 changed files with 32 additions and 151 deletions

View file

@ -1,7 +1,9 @@
const renderFox = function (canvas, opts) {
const width = opts.canvas.width
const height = opts.canvas.height
const ctx = canvas.getContext('2d')
const ctx = canvas.getContext('2d', {
pixelFormat: 'RGB16_565',
})
ctx.fillStyle = opts.canvas.color
ctx.fillRect(0, 0, width, height)