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
This commit is contained in:
Christopher Michael 2019-04-18 09:10:49 -04:00
parent 5fe11b2dbf
commit b462d9bc11
2 changed files with 2 additions and 2 deletions

View File

@ -1194,7 +1194,7 @@ EAPI Eina_Bool ecore_drm2_output_pending_get(Ecore_Drm2_Output *output);
* *
* @since 1.23 * @since 1.23
*/ */
EAPI Eina_Bool ecore_drm2_output_background_color_set(Ecore_Drm2_Output *output, int r, int g, int b, int a); 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);
# endif # endif

View File

@ -1748,7 +1748,7 @@ ecore_drm2_output_relative_to_get(Ecore_Drm2_Output *output)
} }
EAPI Eina_Bool EAPI Eina_Bool
ecore_drm2_output_background_color_set(Ecore_Drm2_Output *output, int r, int g, int b, int a) ecore_drm2_output_background_color_set(Ecore_Drm2_Output *output, uint64_t r, uint64_t g, uint64_t b, uint64_t a)
{ {
Ecore_Drm2_Crtc_State *cstate; Ecore_Drm2_Crtc_State *cstate;