Fix for signals not being received on an Atlas upload 95/42095/2
authorRichard Underhill <r.underhill@partner.samsung.com>
Tue, 23 Jun 2015 08:31:51 +0000 (09:31 +0100)
committerRichard Underhill <r.underhill@partner.samsung.com>
Tue, 23 Jun 2015 08:31:51 +0000 (09:31 +0100)
Change-Id: I84d3a3d637496b584dc616c0423e0fad4e420a21
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
dali/internal/event/images/atlas-impl.cpp

index 1f05a8f..99665ec 100644 (file)
@@ -202,6 +202,7 @@ void Atlas::AllocateAtlas()
   if( !mTicket )
   {
     mTicket = mResourceClient.AllocateTexture( mWidth, mHeight, mPixelFormat );
+    mTicket->AddObserver( *this );
     mImageFactory.RegisterForContextRecovery( this );
   }
 }