Skip to content
Snippets Groups Projects
Commit d773bdbc authored by dg's avatar dg
Browse files

Map:setViewport lost its multidisplay parameter (it was useless). That was the one before the last

git-svn-id: http://svn.net-core.org/repos/t-engine4@2303 51575b47-30f0-44d4-a5cc-537603b46e54
parent e6793458
No related branches found
No related tags found
No related merge requests found
......@@ -123,9 +123,8 @@ mm_blocks = {
-- @param tile_h height of a single tile
-- @param fontname font parameters, can be nil
-- @param fontsize font parameters, can be nil
function _M:setViewPort(x, y, w, h, tile_w, tile_h, fontname, fontsize, multidisplay, allow_backcolor)
function _M:setViewPort(x, y, w, h, tile_w, tile_h, fontname, fontsize, allow_backcolor)
self.allow_backcolor = allow_backcolor
self.multidisplay = multidisplay
self.display_x, self.display_y = math.floor(x), math.floor(y)
self.viewport = {width=math.floor(w), height=math.floor(h), mwidth=math.floor(w/tile_w), mheight=math.floor(h/tile_h)}
self.tile_w, self.tile_h = tile_w, tile_h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment