projects
/
platform
/
core
/
uifw
/
dali-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a767fed
)
Fix static analysis issue
68/262568/3
author
Heeyong Song
<heeyong.song@samsung.com>
Fri, 13 Aug 2021 08:21:41 +0000
(17:21 +0900)
committer
Heeyong Song
<heeyong.song@samsung.com>
Fri, 20 Aug 2021 02:36:00 +0000
(11:36 +0900)
- The type of pixelDataType is unsigned.
Change-Id: I13e7b2fa79217bfd6502164f5957a02f6a0cb6ac
dali/integration-api/bitmap.cpp
patch
|
blob
|
history
diff --git
a/dali/integration-api/bitmap.cpp
b/dali/integration-api/bitmap.cpp
index
5f6a013
..
4491800
100644
(file)
--- a/
dali/integration-api/bitmap.cpp
+++ b/
dali/integration-api/bitmap.cpp
@@
-36,7
+36,7
@@
using namespace Dali::Pixel;
void ConvertToGlFormat(Format pixelformat, unsigned& pixelDataType, unsigned& internalFormat)
{
// Compressed textures have no pixelDataType, so init to an invalid value:
- pixelDataType =
-1
;
+ pixelDataType =
GL_INVALID_VALUE
;
switch(pixelformat)
{