projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
9b0e2a7
)
prevent out of bounds
85/209485/4
author
Joogab Yun
<joogab.yun@samsung.com>
Mon, 8 Jul 2019 08:14:04 +0000
(17:14 +0900)
committer
Joogab Yun
<joogab.yun@samsung.com>
Wed, 10 Jul 2019 03:58:07 +0000
(12:58 +0900)
If bytesPerPixel is 0, the alphaIndex value is
4294967295
.
const unsigned int bytesPerPixel = Dali::Pixel::GetBytesPerPixel(pixelFormat);
const unsigned int alphaIndex = bytesPerPixel - 1u;
Change-Id: Ia7c1dc67d913141bd8d2c2fad062d7d861843fd1
No differences found