mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 02:40:06 +00:00
Replace black with transparent, increase atlas size
This commit is contained in:
parent
bc1bf8cef6
commit
f0bdeb09b1
2 changed files with 19 additions and 5 deletions
|
|
@ -92,7 +92,7 @@ void LoadImageResources(const std::vector<std::string>& urlStrings)
|
|||
if (textureCached)
|
||||
{
|
||||
util::TextureAtlas& textureAtlas = util::TextureAtlas::Instance();
|
||||
textureAtlas.BuildAtlas(1024, 1024);
|
||||
textureAtlas.BuildAtlas(2048, 2048);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ static void LoadTextures()
|
|||
":/res/textures/lines/default-1x7.png");
|
||||
textureAtlas.RegisterTexture("lines/test-pattern",
|
||||
":/res/textures/lines/test-pattern.png");
|
||||
textureAtlas.BuildAtlas(1024, 1024);
|
||||
textureAtlas.BuildAtlas(2048, 2048);
|
||||
}
|
||||
|
||||
} // namespace ResourceManager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue