mirror of https://github.com/encounter/SDL.git
Use SDL_TRUE and SDL_FALSE
This commit is contained in:
parent
605b50fcd9
commit
450e9857cc
|
@ -565,7 +565,7 @@ static bool KMSDRM_VrrPropId(uint32_t drm_fd, uint32_t crtc_id, uint32_t *vrr_pr
|
||||||
DRM_MODE_OBJECT_CRTC);
|
DRM_MODE_OBJECT_CRTC);
|
||||||
|
|
||||||
if (!drm_props)
|
if (!drm_props)
|
||||||
return false;
|
return SDL_FALSE;
|
||||||
|
|
||||||
*vrr_prop_id = KMSDRM_CrtcGetPropId(drm_fd,
|
*vrr_prop_id = KMSDRM_CrtcGetPropId(drm_fd,
|
||||||
drm_props,
|
drm_props,
|
||||||
|
@ -573,7 +573,7 @@ static bool KMSDRM_VrrPropId(uint32_t drm_fd, uint32_t crtc_id, uint32_t *vrr_pr
|
||||||
|
|
||||||
KMSDRM_drmModeFreeObjectProperties(drm_props);
|
KMSDRM_drmModeFreeObjectProperties(drm_props);
|
||||||
|
|
||||||
return true;
|
return SDL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static SDL_bool
|
static SDL_bool
|
||||||
|
|
Loading…
Reference in New Issue