TextureRect uniform not registered when multiple ImageViews created with the same... 27/51627/2
authorRichard Huang <r.huang@samsung.com>
Wed, 11 Nov 2015 10:50:34 +0000 (10:50 +0000)
committerRichard Huang <r.huang@samsung.com>
Wed, 11 Nov 2015 10:52:57 +0000 (02:52 -0800)
Change-Id: If42a80e0510965d1040cf229ad07d751fe3d8490

dali-toolkit/internal/controls/renderers/image/image-renderer.cpp

index b07a17f12de40ae41d7dcf4a9804aa034db6d8db..a9af3ec7222f2dc27c1b1a35fa6f0a7f24562882 100644 (file)
@@ -436,6 +436,7 @@ void ImageRenderer::InitializeRenderer( const std::string& imageUrl )
         else // big image, atlasing is not applied
         {
           mImpl->mRenderer = CreateRenderer();
+          SetTextureRectUniform(FULL_TEXTURE_RECT);
 
           ResourceImage image = Dali::ResourceImage::New( imageUrl );
           image.LoadingFinishedSignal().Connect( this, &ImageRenderer::OnImageLoaded );