fixed #923: cache texture with correct image type

This commit is contained in:
minggo 2011-12-22 10:48:54 +08:00
parent db1ead3cd4
commit a0fe048f11
1 changed files with 1 additions and 0 deletions

View File

@ -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);