summaryrefslogtreecommitdiff
path: root/assetFactory/texturePacker.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 01:06:31 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 01:06:31 +0100
commit2b3df2889369aa22b6a1c782bb7fed658720c341 (patch)
treed915537080b26d2dea1de2e0330445f5075e652e /assetFactory/texturePacker.h
parentReduce texture size determined by packer if non-pot sizes are supported (diff)
downloadilt-2b3df2889369aa22b6a1c782bb7fed658720c341.tar.bz2
ilt-2b3df2889369aa22b6a1c782bb7fed658720c341.tar.xz
ilt-2b3df2889369aa22b6a1c782bb7fed658720c341.zip
Have texture packer search harder for a solution, stopping at the reported texture size limit
Diffstat (limited to 'assetFactory/texturePacker.h')
-rw-r--r--assetFactory/texturePacker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/assetFactory/texturePacker.h b/assetFactory/texturePacker.h
index ca0d67a..a1b270b 100644
--- a/assetFactory/texturePacker.h
+++ b/assetFactory/texturePacker.h
@@ -38,4 +38,5 @@ public:
private:
std::span<const Image> inputImages;
std::vector<size_t> sortedIndexes;
+ unsigned int maxTextureSize;
};