mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-27 02:30:40 +01:00
egl: fix var type
queryImage() takes an `int*`; compiler is warning about the
signed<->unsigned pointer mismatch.
Fixes: 0db36caa19 "egl/wayland: Add a fallback when fourcc
query isn't supported"
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
This commit is contained in:
parent
9e74e2d13c
commit
ca95d7ad4e
1 changed files with 1 additions and 1 deletions
|
|
@ -676,7 +676,7 @@ get_fourcc(struct dri2_egl_display *dri2_dpy,
|
|||
__DRIimage *image, int *fourcc)
|
||||
{
|
||||
EGLBoolean query;
|
||||
uint32_t dri_format;
|
||||
int dri_format;
|
||||
|
||||
query = dri2_dpy->image->queryImage(image, __DRI_IMAGE_ATTRIB_FOURCC,
|
||||
fourcc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue