projects
/
platform
/
core
/
uifw
/
pepper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c4225
)
tdm: check error of get_subpixel
80/163880/1
author
Sangjin Lee
<lsj119@samsung.com>
Thu, 14 Dec 2017 01:10:46 +0000
(10:10 +0900)
committer
Sangjin Lee
<lsj119@samsung.com>
Thu, 14 Dec 2017 01:10:46 +0000
(10:10 +0900)
Change-Id: I07ffe58a782058f2b5954a816fe1311f10a5a518
src/lib/tdm/tdm-output.c
patch
|
blob
|
history
diff --git
a/src/lib/tdm/tdm-output.c
b/src/lib/tdm/tdm-output.c
index 6c86c3c92c2fd2fa10c7a5b37eb590b9439dd8bd..70d187e67af031cad3f9623d2b439cd00d82b8d6 100644
(file)
--- a/
src/lib/tdm/tdm-output.c
+++ b/
src/lib/tdm/tdm-output.c
@@
-361,8
+361,11
@@
pepper_tdm_output_get_subpixel_order(void *o)
{
pepper_tdm_output_t *output = (pepper_tdm_output_t *)o;
unsigned int subpixel;
+ tdm_error ret;
+
+ ret = tdm_output_get_subpixel(output->output, &subpixel);
+ PEPPER_CHECK(ret == TDM_ERROR_NONE, return WL_OUTPUT_SUBPIXEL_UNKNOWN, "faile get subpixel\n");
- tdm_output_get_subpixel(output->output, &subpixel);
switch (subpixel) {
default:
subpixel = WL_OUTPUT_SUBPIXEL_UNKNOWN;