s/memcmp/SDL_memcmp/ for conistency

This commit is contained in:
Ozkan Sezer 2021-06-24 23:10:56 +03:00
parent 56b77b12bc
commit 33b84c8d15

View File

@ -635,7 +635,7 @@ void KMSDRM_AddDisplay (_THIS, drmModeConnector *connector, drmModeRes *resource
for (i = 0; i < connector->count_modes; i++) {
drmModeModeInfo *mode = &connector->modes[i];
if (!memcmp(mode, &crtc->mode, sizeof(crtc->mode))) {
if (!SDL_memcmp(mode, &crtc->mode, sizeof(crtc->mode))) {
mode_index = i;
break;
}