Removed AssertAlways and added error logging in RenderInstruction::GetRenderList(). 64/34264/2
authorAndrew Cox <andrew.cox@partner.samsung.com>
Thu, 22 Jan 2015 10:46:52 +0000 (10:46 +0000)
committerAndrew Cox <andrew.cox@partner.samsung.com>
Thu, 22 Jan 2015 14:34:04 +0000 (14:34 +0000)
commit837cbee3153526ba1be7d17ef69b28360feca76a
treef72d87650b8f9052dbc4d89fa0cf804d8a5032fa
parenta5595ea83fb5b36a936955417c039949520a337c
Removed AssertAlways and added error logging in RenderInstruction::GetRenderList().

[problem]
Deep internal member function arbitrarily ending process if
array index is out of bounds.
[cause]
Use of AssertAlways macro to check argument.
[solution]
Debug assertion and defensive code for release builds.

Change-Id: I5e235869cb63484c74365d9d97b4c2772d65dcea
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
dali/internal/render/common/render-instruction.cpp
dali/internal/render/common/render-instruction.h