From 14c4e948ba4115b1c9f236ce7fde340113460472 Mon Sep 17 00:00:00 2001 From: shevernitskiy Date: Wed, 30 Aug 2023 12:49:01 +0300 Subject: [PATCH] Update docs/dev/Lua API.rst Co-authored-by: Myk --- docs/dev/Lua API.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/dev/Lua API.rst b/docs/dev/Lua API.rst index 35e2372f3..44512c010 100644 --- a/docs/dev/Lua API.rst +++ b/docs/dev/Lua API.rst @@ -2635,11 +2635,10 @@ raw ``texpos``. When we need to draw a particular tile, we can look up the curre * ``createTileset(pixels, texture_px_w, texture_px_h, tile_px_w, tile_px_h)`` - Create and register a new texture with the given texture dimension and array of ``pixels`` as data in row major order. - Then slice it on tiles with the given dimension in row major order. - Each pixel is an integer representing color in packed RBGA format (for example #0022FF11). - - Returns an array of ``TexposHandle``. + Create and register a new texture with the given texture dimensions and an array of + ``pixels`` in row major order. Then slice it into tiles with the given tile + dimensions. Each pixel is an integer representing color in packed RBGA format (for + example #0022FF11). Returns an array of ``TexposHandle``. * ``deleteHandle(handle)``