mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Make ToAtlasImage a global function instead of a method on ImageDesc
This commit is contained in:
1 parent
95703d2d9c
commit
ca2a7c93a0
4 files changed
+6
-6
No files matched your search
+1
-1
@@ -157,7 +157,7 @@ Draw::Texture *GenerateUIAtlas(Draw::DrawContext *draw, Atlas *atlas) {
|
||||
std::vector<AtlasImage> genAtlasImages;
|
||||
genAtlasImages.reserve(ARRAY_SIZE(imageDescs));
|
||||
for (int i = 0; i < ARRAY_SIZE(imageDescs); i++) {
|
||||
genAtlasImages.push_back(imageDescs[i].ToAtlasImage(resultIds[i], (float)dest.width(), (float)dest.height(), results));
|
||||
genAtlasImages.push_back(ToAtlasImage(resultIds[i], imageDescs[i].name, (float)dest.width(), (float)dest.height(), results));
|
||||
}
|
||||
|
||||
atlas->Clear();
|
||||
|
||||
Reference in new issue
Block a user