diff --git a/libretro-common/include/retro_math.h b/libretro-common/include/retro_math.h index af0b6c5f43..d1cb86294d 100644 --- a/libretro-common/include/retro_math.h +++ b/libretro-common/include/retro_math.h @@ -132,7 +132,7 @@ static INLINE float dot_product(const float* a, const float* b) } /** - * retro_rgb_to_yxy: + * convert_rgb_to_yxy: * @rgb : in RGB colour space value * @Yxy : out Yxy colour space value * @@ -162,7 +162,7 @@ static INLINE void convert_rgb_to_yxy(const float* rgb, float* Yxy) } /** - * yxy_to_rgb: + * convert_yxy_to_rgb: * @rgb : in Yxy colour space value * @Yxy : out rgb colour space value * diff --git a/retroarch.c b/retroarch.c index bd89db6b5d..af4b19e5fe 100644 --- a/retroarch.c +++ b/retroarch.c @@ -24964,7 +24964,7 @@ float *video_driver_get_hdr_paper_white_float(void) * slightly brighter than paper white value for some parts * of the UI */ -float video_driver_get_hdr_luminace(float nits) +float video_driver_get_hdr_luminance(float nits) { settings_t *settings = config_get_ptr(); if(video_driver_supports_hdr() && settings->bools.video_hdr_enable) diff --git a/retroarch.h b/retroarch.h index 0e18e1a3f8..8b4a5baa0e 100644 --- a/retroarch.h +++ b/retroarch.h @@ -1602,7 +1602,7 @@ bool video_driver_supports_hdr(void); unsigned video_driver_get_hdr_color(unsigned color); -float video_driver_get_hdr_luminace(float nits); +float video_driver_get_hdr_luminance(float nits); unsigned video_driver_get_hdr_paper_white(void);