Fix parameters passed to draw-image in html-canvas-renderer
This commit is contained in:
parent
c19d67de6c
commit
72908f7c1a
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@
|
|||
definition, so everything must specify a width."
|
||||
(case-lambda
|
||||
((image x y width height)
|
||||
(draw-image canvas-context 0 0 width height x y width height))
|
||||
(draw-image canvas-context image 0 0 width height x y width height))
|
||||
((image sx sy swidth sheight x y width height)
|
||||
(draw-image canvas-context sx sy swidth sheight x y width height))))
|
||||
(draw-image canvas-context image sx sy swidth sheight x y width height))))
|
||||
|
||||
(define (%make-rendering-systems canvas-context)
|
||||
"Returns a list of rendering systems."
|
||||
|
|
Loading…
Reference in a new issue