mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05: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;
|
||||
GHashTableIter iter;
|
||||
drmModeModeInfo *drm_mode;
|
||||
long mode_id;
|
||||
uint64_t mode_id;
|
||||
|
||||
/*
|
||||
* Gather all modes on all connected connectors.
|
||||
@ -442,7 +442,7 @@ init_modes (MetaGpuKms *gpu_kms)
|
||||
{
|
||||
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);
|
||||
|
||||
mode_id++;
|
||||
|
Loading…
Reference in New Issue
Block a user