equal
deleted
inserted
replaced
113 iSkinImage = vgCreateImage(VG_sRGB_565, |
113 iSkinImage = vgCreateImage(VG_sRGB_565, |
114 iRect.Width(), iRect.Height(), |
114 iRect.Width(), iRect.Height(), |
115 VG_IMAGE_QUALITY_NONANTIALIASED); |
115 VG_IMAGE_QUALITY_NONANTIALIASED); |
116 |
116 |
117 // handle out of memory |
117 // handle out of memory |
118 VGErrorCode error = vgGetError(); |
118 if( iSkinImage == VG_INVALID_HANDLE ) |
119 if (iSkinImage == VG_INVALID_HANDLE || error == VG_OUT_OF_MEMORY_ERROR) |
|
120 { |
119 { |
121 User::Leave(KErrNoMemory); |
120 User::Leave(KErrNoMemory); |
122 } |
121 } |
123 |
122 |
124 // Copy to draw buffer to vg image |
123 // Copy to draw buffer to vg image |