mirror of
https://github.com/brl/mutter.git
synced 2025-02-20 15:04:09 +00:00
gpu-kms: Fix mode ID type
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
parent
d3abaf46a1
commit
e15bb68d8f
@ -399,7 +399,7 @@ init_modes (MetaGpuKms *gpu_kms)
|
|||||||
GList *modes;
|
GList *modes;
|
||||||
GHashTableIter iter;
|
GHashTableIter iter;
|
||||||
drmModeModeInfo *drm_mode;
|
drmModeModeInfo *drm_mode;
|
||||||
long mode_id;
|
uint64_t mode_id;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gather all modes on all connected connectors.
|
* Gather all modes on all connected connectors.
|
||||||
@ -442,7 +442,7 @@ init_modes (MetaGpuKms *gpu_kms)
|
|||||||
{
|
{
|
||||||
MetaCrtcModeKms *mode;
|
MetaCrtcModeKms *mode;
|
||||||
|
|
||||||
mode = meta_crtc_mode_kms_new (drm_mode, (long) mode_id);
|
mode = meta_crtc_mode_kms_new (drm_mode, mode_id);
|
||||||
modes = g_list_append (modes, mode);
|
modes = g_list_append (modes, mode);
|
||||||
|
|
||||||
mode_id++;
|
mode_id++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user