Changed log message to inform number of textures != than active sampler from ERROR... 78/100878/2
authorFerran Sole <ferran.sole@samsung.com>
Tue, 29 Nov 2016 12:12:46 +0000 (12:12 +0000)
committerFerran Sole <ferran.sole@samsung.com>
Tue, 6 Dec 2016 09:57:30 +0000 (01:57 -0800)
Caused false error for SVG visual which creates a renderer but doesn't add it to an actor
until the actual texture is created

Change-Id: I7dec2873e6bb49bc36418ecad1d038d72334ce34

dali/internal/render/renderers/render-renderer.cpp

index 42d748a..6b4f25c 100644 (file)
@@ -182,7 +182,7 @@ void Renderer::SetRenderDataProvider( SceneGraph::RenderDataProvider* dataProvid
   Program* program = dataProvider->GetShader().GetProgram();
   if( program && program->GetActiveSamplerCount() != textureCount )
   {
-    DALI_LOG_ERROR("The number of active samplers in the shader(%lu) does not match the number of textures in the TextureSet(%lu)\n",
+    DALI_LOG_WARNING("The number of active samplers in the shader(%lu) does not match the number of textures in the TextureSet(%lu)\n",
                    program->GetActiveSamplerCount(),
                    textureCount );
   }