equal
deleted
inserted
replaced
370 TRACER("CGlxTextureManagerImpl::CreateFlatColourTextureL"); |
370 TRACER("CGlxTextureManagerImpl::CreateFlatColourTextureL"); |
371 // Create a picture with the colour |
371 // Create a picture with the colour |
372 CFbsBitmap* picture = new (ELeave) CFbsBitmap; |
372 CFbsBitmap* picture = new (ELeave) CFbsBitmap; |
373 CleanupStack::PushL(picture); |
373 CleanupStack::PushL(picture); |
374 User::LeaveIfError(picture->Create(TSize(KGlxFlatTextureSize, |
374 User::LeaveIfError(picture->Create(TSize(KGlxFlatTextureSize, |
375 KGlxFlatTextureSize), EColor16MU ) ); |
375 KGlxFlatTextureSize), EColor16M ) ); |
376 |
376 |
377 CFbsBitmapDevice* drawBufDevice = CFbsBitmapDevice::NewL(picture); |
377 CFbsBitmapDevice* drawBufDevice = CFbsBitmapDevice::NewL(picture); |
378 CleanupStack::PushL(drawBufDevice); |
378 CleanupStack::PushL(drawBufDevice); |
379 |
379 |
380 CFbsBitGc* drawBufContext; |
380 CFbsBitGc* drawBufContext; |