From 45cbee81df60067b23c3a2fd34d0db27d3319ee5 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 26 Nov 2022 04:58:55 -0800 Subject: [PATCH] Fixed kmsdrm using standard C functions instead of SDL functions --- src/video/kmsdrm/SDL_kmsdrmvideo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c index e7f9aa674c..ba1dd31937 100644 --- a/src/video/kmsdrm/SDL_kmsdrmvideo.c +++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c @@ -548,7 +548,7 @@ KMSDRM_CrtcGetPropId(uint32_t drm_fd, if (!drm_prop) continue; - if (strcmp(drm_prop->name, name) == 0) + if (SDL_strcmp(drm_prop->name, name) == 0) prop_id = drm_prop->prop_id; KMSDRM_drmModeFreeProperty(drm_prop); @@ -599,7 +599,7 @@ KMSDRM_ConnectorCheckVrrCapable(uint32_t drm_fd, if (!drm_prop) continue; - if (strcasecmp(drm_prop->name, name) == 0) { + if (SDL_strcasecmp(drm_prop->name, name) == 0) { prop_value = props->prop_values[i]; found = SDL_TRUE; }