The graphics of new surface should be initialized while replacing the surface 47/193447/1
authorRichard Huang <r.huang@samsung.com>
Tue, 20 Nov 2018 16:53:27 +0000 (16:53 +0000)
committerRichard Huang <r.huang@samsung.com>
Tue, 20 Nov 2018 16:53:27 +0000 (16:53 +0000)
Change-Id: I05a319939976b84923f0952a8494a7e7c2995dd0

dali/internal/adaptor/common/combined-update-render-controller.cpp

index e9fa33f..d4a2a77 100644 (file)
@@ -469,6 +469,7 @@ void CombinedUpdateRenderController::UpdateRenderThread()
       // If the new surface has a different display connection, then the context will be lost
 
       mAdaptorInterfaces.GetDisplayConnectionInterface().Initialize();
+      newSurface->InitializeGraphics( mAdaptorInterfaces.GetGraphicsInterface(), mAdaptorInterfaces.GetDisplayConnectionInterface() );
       newSurface->ReplaceGraphicsSurface();
       SurfaceReplaced();
     }