mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-22 18:52:54 +00:00
Use fixed-width pixel data in stitched textures
This commit is contained in:
parent
6185c58203
commit
e18941ced7
|
|
@ -178,7 +178,7 @@ void PreStitchedTextureMap::stitch()
|
|||
|
||||
#ifdef __PSVITA__
|
||||
// AP - alpha cut out is expensive on vita so we mark which icons actually require it
|
||||
DWORD *data = (DWORD*) this->getStitchedTexture()->getData()->getBuffer();
|
||||
std::uint32_t *data = reinterpret_cast<std::uint32_t*>(this->getStitchedTexture()->getData()->getBuffer());
|
||||
int Width = this->getStitchedTexture()->getWidth();
|
||||
int Height = this->getStitchedTexture()->getHeight();
|
||||
for(AUTO_VAR(it, texturesByName.begin()); it != texturesByName.end(); ++it)
|
||||
|
|
|
|||
Loading…
Reference in a new issue