소스 검색

Fixed kmsdrm using standard C functions instead of SDL functions

Sam Lantinga 3 년 전
부모
커밋
45cbee81df
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/video/kmsdrm/SDL_kmsdrmvideo.c

+ 2 - 2
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;
         }