hostsupport/hostegl/src/EGLWindowSurface.cpp
branchbug235_bringup_0
changeset 56 40cc73c24bf8
parent 53 c2ef9095503a
--- a/hostsupport/hostegl/src/EGLWindowSurface.cpp	Thu Oct 07 13:58:22 2010 +0100
+++ b/hostsupport/hostegl/src/EGLWindowSurface.cpp	Thu Oct 07 18:44:04 2010 +0100
@@ -67,7 +67,7 @@
 
 CEGLWindowSurface::~CEGLWindowSurface(void)
     {
-#if !defined(EGLI_USE_PLATSIM_EXTENSIONS)
+#if !defined(EGLI_USE_SIMULATOR_EXTENSIONS)
     if( m_currentBuffer ) free( m_currentBuffer );
 #endif
     if( m_osContext )
@@ -76,7 +76,7 @@
 
 void* CEGLWindowSurface::CurrentBuffer()
     {
-#if defined(EGLI_USE_PLATSIM_EXTENSIONS)
+#if defined(EGLI_USE_SIMULATOR_EXTENSIONS)
     m_currentBuffer = (m_currentBuffer && m_currentBuffer == m_buffer0) ? m_buffer1 : m_buffer0;
     EGLI_ASSERT( m_currentBuffer != NULL );
     return m_currentBuffer;