diff options
Diffstat (limited to 'tex/context/base/mkiv/grph-bmp.lua')
-rw-r--r-- | tex/context/base/mkiv/grph-bmp.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/grph-bmp.lua b/tex/context/base/mkiv/grph-bmp.lua index d863b1a98..e10b01aa4 100644 --- a/tex/context/base/mkiv/grph-bmp.lua +++ b/tex/context/base/mkiv/grph-bmp.lua @@ -16,7 +16,7 @@ graphics.bitmaps = bitmaps local wrapimage = images.wrap -function bitmaps.new(xsize,ysize,colorspace,colordepth,mask) +function bitmaps.new(xsize,ysize,colorspace,colordepth,mask,index) if not xsize or not ysize or xsize == 0 or ysize == 0 then report_bitmap("provide 'xsize' and 'ysize' larger than zero") return @@ -35,6 +35,7 @@ function bitmaps.new(xsize,ysize,colorspace,colordepth,mask) xsize = xsize, ysize = ysize, mask = mask and true or nil, + index = index and true or nil, } end |