mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 20:23:47 +00:00
Fixed: Wrong bitmap size
This commit is contained in:
parent
e8bbbe04e4
commit
68c163ef16
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ static void BuildColoredVersionForOneBitmap(const CBuildInfo &bi, const std::str
|
||||||
// we can save it as RGB to optimize it
|
// we can save it as RGB to optimize it
|
||||||
if (bi.OptimizeTextures > 0 && depth == 32)
|
if (bi.OptimizeTextures > 0 && depth == 32)
|
||||||
{
|
{
|
||||||
uint32 size = srcBitmap.getSize(0);
|
uint32 size = srcBitmap.getPixels().size();
|
||||||
|
|
||||||
if (size > 0)
|
if (size > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue