diff options
Diffstat (limited to 'riscos/htmlredraw.c')
-rw-r--r-- | riscos/htmlredraw.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c index dbe27b372..2c4da8a28 100644 --- a/riscos/htmlredraw.c +++ b/riscos/htmlredraw.c @@ -739,6 +739,15 @@ void html_redraw_background(long xi, long yi, int width, int height, tinct_options); break; #endif +#ifdef WITH_PNG + case CONTENT_JNG: + case CONTENT_MNG: + _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7), + ((char*) box->background->data.mng.sprite_area + box->background->data.mng.sprite_area->first), + x, y - image_height, image_width, image_height, + tinct_options); + break; +#endif #ifdef WITH_JPEG case CONTENT_JPEG: _swix(Tinct_PlotScaled, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7), |