X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Fatlas%2Ftext-atlas-renderer.cpp;h=1a1063c8c1676f2980a383ff319529ec7700c61c;hp=591313487559b3528e4c511c24de64e3440ebe95;hb=414fde1d3caad7cf88baecbeb62df75eccaa1499;hpb=d783bae0658096314bd94361be75d5999797735e diff --git a/dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.cpp b/dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.cpp index 5913134..1a1063c 100644 --- a/dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.cpp +++ b/dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.cpp @@ -217,7 +217,7 @@ struct AtlasRenderer::Impl uint32_t glyphBufferSize = glyphBufferData.width * glyphBufferData.height * Pixel::GetBytesPerPixel(glyphBufferData.format); // If glyph buffer data don't have ownership, Or if we need to decompress, create new memory and replace ownership. - if(!glyphBufferData.isBufferOwned || glyphBufferData.compressType != TextAbstraction::FontClient::GlyphBufferData::CompressType::NO_COMPRESS) + if(!glyphBufferData.isBufferOwned || glyphBufferData.compressionType != TextAbstraction::FontClient::GlyphBufferData::CompressionType::NO_COMPRESSION) { uint8_t* newBuffer = (uint8_t*)malloc(glyphBufferSize); if(DALI_LIKELY(newBuffer != nullptr)) @@ -228,9 +228,9 @@ struct AtlasRenderer::Impl // Release previous buffer free(glyphBufferData.buffer); } - glyphBufferData.isBufferOwned = true; - glyphBufferData.buffer = newBuffer; - glyphBufferData.compressType = TextAbstraction::FontClient::GlyphBufferData::CompressType::NO_COMPRESS; + glyphBufferData.isBufferOwned = true; + glyphBufferData.buffer = newBuffer; + glyphBufferData.compressionType = TextAbstraction::FontClient::GlyphBufferData::CompressionType::NO_COMPRESSION; } }