--- a/uifw/ganes/src/HgVgEGL.cpp Wed Sep 15 12:29:17 2010 +0300
+++ b/uifw/ganes/src/HgVgEGL.cpp Wed Oct 13 14:50:15 2010 +0300
@@ -47,12 +47,6 @@
void CHgVgEGL::ConstructL (RWindow& aWindow)
{
InitEGL(aWindow);
- // Enable flag that is used to determine whether egl has been initialized.
- // For example vgImages shouldn't be created before egl has been initialized.
- // There will be only one instance of this class so there is no need to check
- // whether there is already something in the DLL tls.
- TBool* eglInitialized = new TBool(ETrue);
- Dll::SetTls((TAny*)eglInitialized);
}
// -----------------------------------------------------------------------------
@@ -72,10 +66,6 @@
CHgVgEGL::~CHgVgEGL ( )
{
DestroyEGL();
- // Disable flag that is used to determine whether egl has been initialized.
- // For example vgImages shouldn't be created before egl has been initialized.
- delete Dll::Tls();
- Dll::FreeTls();
}
// ---------------------------------------------------------------------------
@@ -367,14 +357,4 @@
return bitmap;
}
-// ---------------------------------------------------------------------------
-// CHgVgEGL::EglInitialized()
-// ---------------------------------------------------------------------------
-//
-TBool CHgVgEGL::EglInitialized()
-{
- TBool* eglInitialized = (TBool*)Dll::Tls();
- return eglInitialized ? *eglInitialized : EFalse;
-}
-
// End of File