Added missing newline chars to logging commands
[platform/core/uifw/dali-core.git] / dali / internal / event / rendering / texture-impl.cpp
index 704ab40..c0f658c 100644 (file)
@@ -108,14 +108,14 @@ bool NewTexture::Upload( PixelDataPtr pixelData,
   {
     if( mNativeImage )
     {
-      DALI_LOG_ERROR( "OpenGL ES does not support uploading data to native texture");
+      DALI_LOG_ERROR( "OpenGL ES does not support uploading data to native texture\n");
     }
     else
     {
       unsigned int pixelDataSize = pixelData->GetWidth()*pixelData->GetHeight();
       if( pixelData->GetBuffer() == NULL || pixelDataSize == 0 )
       {
-        DALI_LOG_ERROR( "PixelData is empty");
+        DALI_LOG_ERROR( "PixelData is empty\n");
       }
       else
       {
@@ -124,12 +124,12 @@ bool NewTexture::Upload( PixelDataPtr pixelData,
         {
           if( pixelDataSize < width * height )
           {
-            DALI_LOG_ERROR( "PixelData of an incorrect size when trying to update texture");
+            DALI_LOG_ERROR( "PixelData of an incorrect size when trying to update texture\n");
           }
           else if( ( xOffset + width  > ( mWidth  / (1<<mipmap) ) ) ||
               ( yOffset + height > ( mHeight / (1<<mipmap) ) ) )
           {
-            DALI_LOG_ERROR( "Texture update area out of bounds");
+            DALI_LOG_ERROR( "Texture update area out of bounds\n");
           }
           else
           {
@@ -141,7 +141,7 @@ bool NewTexture::Upload( PixelDataPtr pixelData,
         }
         else
         {
-          DALI_LOG_ERROR( "Bad format");
+          DALI_LOG_ERROR( "Bad format\n");
         }
       }
     }