mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 04:58:16 +02:00
gl-renderer: change len_shaper and len_lut3d to uint32_t
Fix accidental use of float values for LUT's length. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
parent
22d907bc03
commit
535dc674a9
1 changed files with 2 additions and 2 deletions
|
|
@ -377,8 +377,8 @@ gl_renderer_color_transform_create_3dlut(struct gl_renderer *gr,
|
|||
struct gl_renderer_color_transform *gl_xform = NULL;
|
||||
float *shaper = NULL;
|
||||
float *lut3d = NULL;
|
||||
float len_shaper;
|
||||
float len_lut3d;
|
||||
uint32_t len_shaper;
|
||||
uint32_t len_lut3d;
|
||||
bool ok;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue