diff -r f7f0874bfe7d -r 6b87b143d312 photosgallery/viewframework/texturemanager/src/glxtexturemanagerimpl.cpp --- a/photosgallery/viewframework/texturemanager/src/glxtexturemanagerimpl.cpp Tue Feb 02 10:12:14 2010 +0200 +++ b/photosgallery/viewframework/texturemanager/src/glxtexturemanagerimpl.cpp Fri Feb 19 22:51:01 2010 +0200 @@ -372,7 +372,7 @@ CFbsBitmap* picture = new (ELeave) CFbsBitmap; CleanupStack::PushL(picture); User::LeaveIfError(picture->Create(TSize(KGlxFlatTextureSize, - KGlxFlatTextureSize), EColor64K ) ); + KGlxFlatTextureSize), EColor16MU ) ); CFbsBitmapDevice* drawBufDevice = CFbsBitmapDevice::NewL(picture); CleanupStack::PushL(drawBufDevice); @@ -1005,7 +1005,7 @@ { TRACER("CGlxTextureManagerImpl::SelectAttributeL"); const CGlxMedia& media = *aMedia.Properties(); - if ( aMedia.Properties() == NULL || media.Count() == 0 ) + if ( !aMedia.Properties() || media.Count() == 0 ) { GLX_LOG_INFO("SelectAttributeL - NULL CGlxMedia / No Attribs"); User::Leave( KErrArgument ); @@ -1103,7 +1103,7 @@ TInt textureToBeUnloaded = -1; //check if the image is decoded - if(aBitmap != NULL) + if ( aBitmap ) { iZoomedList[aThumbnailIndex].iBitmap = aBitmap;