equal
deleted
inserted
replaced
34 - no support for swap interval |
34 - no support for swap interval |
35 * \todo what happens in egl functions when eglTerminate has been called but the context and surface are still in use? |
35 * \todo what happens in egl functions when eglTerminate has been called but the context and surface are still in use? |
36 * \todo OSDeinitMutex should be called in case getEGL fails. |
36 * \todo OSDeinitMutex should be called in case getEGL fails. |
37 *//*-------------------------------------------------------------------*/ |
37 *//*-------------------------------------------------------------------*/ |
38 |
38 |
39 #include "riMiniEGL.h" |
39 //#include "riMiniEGL.h" |
40 #include "eglprivate.h" |
40 #include "eglprivate.h" |
41 #include "riMath.h" |
41 #include "riMath.h" |
42 #include <e32debug.h> |
42 #include <e32debug.h> |
43 |
43 |
44 //============================================================================================== |
44 //============================================================================================== |
441 RI_DELETE(g_egl); |
441 RI_DELETE(g_egl); |
442 g_egl = NULL; |
442 g_egl = NULL; |
443 } |
443 } |
444 } |
444 } |
445 */ |
445 */ |
446 RDebug::Printf("I am in releaseEGL "); |
|
447 CEglThreadSession* es = reinterpret_cast<CEglThreadSession*>(Dll::Tls()); |
446 CEglThreadSession* es = reinterpret_cast<CEglThreadSession*>(Dll::Tls()); |
448 if (es) |
447 if (es) |
449 { |
448 { |
450 delete es; |
449 delete es; |
451 } |
450 } |