[Tizen] Revert "Support screen rotation"
[platform/core/uifw/dali-adaptor.git] / adaptors / wayland / render-surface / render-surface-wl.cpp
index 6df8678..e2c83cd 100644 (file)
@@ -26,7 +26,6 @@
 #include <unistd.h>
 
 // INTERNAL INCLUDES
-#include <base/separate-update-render/thread-synchronization.h>
 #include <gl/egl-implementation.h>
 #include <trigger-event.h>
 #include <base/interfaces/window-event-interface.h>
@@ -44,7 +43,8 @@ RenderSurface::RenderSurface(Dali::PositionSize positionSize,
                                            const std::string& name,
                                            bool isTransparent)
 : mRenderNotification(NULL),
-  mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24)
+  mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24),
+  mEglWindow(NULL)
 {
   mWindow.mPosition = positionSize;
   mWindow.mTitle = name;
@@ -84,7 +84,7 @@ void RenderSurface::InitializeEgl( EglInterface& egl )
 
   if (!eglImpl.InitializeGles(static_cast<EGLNativeDisplayType>( mWaylandManager->mDisplay )))
   {
-    DALI_LOG_ERROR("Failed to initialize GLES.");
+    DALI_LOG_ERROR("Failed to initialize GLES.\n");
   }
 
   eglImpl.ChooseConfig( true, mColorDepth );