diff -r 85902f042028 -r a5e7a4f63858 uifw/ganes/src/HgVgHelper.cpp --- a/uifw/ganes/src/HgVgHelper.cpp Wed Sep 15 12:29:17 2010 +0300 +++ b/uifw/ganes/src/HgVgHelper.cpp Wed Oct 13 14:50:15 2010 +0300 @@ -20,7 +20,6 @@ #include "HgVgHelper.h" #include "HgVgDrawBuffer.h" #include "HgVgImageCreator.h" -#include "HgVgEGL.h" #include #include @@ -108,9 +107,7 @@ // VGImage CreateVgImageFromIconL(const CGulIcon& aIcon) { - // If egl has not been initialized we aren't allowed to create vgimages. - if (!CHgVgEGL::EglInitialized()) return VG_INVALID_HANDLE; - + CFbsBitmap* bitmap = aIcon.Bitmap(); User::LeaveIfNull(bitmap); CFbsBitmap* mask = aIcon.Mask();