mirror of https://github.com/axmolengine/axmol.git
fixed #923: cache texture with correct image type
This commit is contained in:
parent
db1ead3cd4
commit
a0fe048f11
|
@ -137,6 +137,7 @@ static void* loadImage(void* data)
|
|||
ImageInfo *pImageInfo = new ImageInfo();
|
||||
pImageInfo->asyncStruct = pAsyncStruct;
|
||||
pImageInfo->image = pImage;
|
||||
pImageInfo->imageType = imageType;
|
||||
|
||||
// put the image info into the queue
|
||||
pthread_mutex_lock(&s_ImageInfoMutex);
|
||||
|
|
Loading…
Reference in New Issue