diff options
author | Christopher Michael <cp.michael@samsung.com> | 2019-04-18 09:10:49 -0400 |
---|---|---|
committer | Christopher Michael <cp.michael@samsung.com> | 2019-04-18 09:10:49 -0400 |
commit | b462d9bc11eefbfc7062db1cc19cb7ce4c573e5b (patch) | |
tree | 42aa887cd195da084c30d04f3c9e79121707fbf5 /src/lib/ecore_drm2 | |
parent | 5fe11b2dbfdb6c74d4bdad6b59b760f5278f554a (diff) |
ecore-drm2: Fix API function parameters for background color set
Passing int as parameters here is too small for left shifting the
colors so make these parameters uint64_t
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r-- | src/lib/ecore_drm2/Ecore_Drm2.h | 2 | ||||
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_outputs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h index 6f074fc5ec..843cfa6a2d 100644 --- a/src/lib/ecore_drm2/Ecore_Drm2.h +++ b/src/lib/ecore_drm2/Ecore_Drm2.h | |||
@@ -1194,7 +1194,7 @@ EAPI Eina_Bool ecore_drm2_output_pending_get(Ecore_Drm2_Output *output); | |||
1194 | * | 1194 | * |
1195 | * @since 1.23 | 1195 | * @since 1.23 |
1196 | */ | 1196 | */ |
1197 | EAPI Eina_Bool ecore_drm2_output_background_color_set(Ecore_Drm2_Output *output, int r, int g, int b, int a); | 1197 | EAPI Eina_Bool ecore_drm2_output_background_color_set(Ecore_Drm2_Output *output, uint64_t r, uint64_t g, uint64_t b, uint64_t a); |
1198 | 1198 | ||
1199 | # endif | 1199 | # endif |
1200 | 1200 | ||
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c index a433d54358..dfb2fa93d1 100644 --- a/src/lib/ecore_drm2/ecore_drm2_outputs.c +++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c | |||
@@ -1748,7 +1748,7 @@ ecore_drm2_output_relative_to_get(Ecore_Drm2_Output *output) | |||
1748 | } | 1748 | } |
1749 | 1749 | ||
1750 | EAPI Eina_Bool | 1750 | EAPI Eina_Bool |
1751 | ecore_drm2_output_background_color_set(Ecore_Drm2_Output *output, int r, int g, int b, int a) | 1751 | ecore_drm2_output_background_color_set(Ecore_Drm2_Output *output, uint64_t r, uint64_t g, uint64_t b, uint64_t a) |
1752 | { | 1752 | { |
1753 | Ecore_Drm2_Crtc_State *cstate; | 1753 | Ecore_Drm2_Crtc_State *cstate; |
1754 | 1754 | ||