From 4545c77c9ef8d62c922174880b60aa31f19e97f0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 5 Mar 2024 16:56:58 -0800 Subject: [PATCH] Updated Vita renderer with colorspace clarification --- src/render/vitagxm/SDL_render_vita_gxm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/render/vitagxm/SDL_render_vita_gxm.c b/src/render/vitagxm/SDL_render_vita_gxm.c index ea93cb1f3..9cb743ca4 100644 --- a/src/render/vitagxm/SDL_render_vita_gxm.c +++ b/src/render/vitagxm/SDL_render_vita_gxm.c @@ -340,13 +340,13 @@ static void VITA_GXM_SetYUVProfile(SDL_Renderer *renderer, SDL_Texture *texture) { VITA_GXM_RenderData *data = (VITA_GXM_RenderData *)renderer->driverdata; int ret = 0; - if (SDL_ISCOLORSPACE_YUV_BT601(texture->colorspace)) { + if (SDL_ISCOLORSPACE_MATRIX_BT601(texture->colorspace)) { if (SDL_ISCOLORSPACE_LIMITED_RANGE(texture->colorspace)) { ret = sceGxmSetYuvProfile(data->gxm_context, 0, SCE_GXM_YUV_PROFILE_BT601_STANDARD); } else { ret = sceGxmSetYuvProfile(data->gxm_context, 0, SCE_GXM_YUV_PROFILE_BT601_FULL_RANGE); } - } else if (SDL_ISCOLORSPACE_YUV_BT709(texture->colorspace)) { + } else if (SDL_ISCOLORSPACE_MATRIX_BT709(texture->colorspace)) { if (SDL_ISCOLORSPACE_LIMITED_RANGE(texture->colorspace)) { ret = sceGxmSetYuvProfile(data->gxm_context, 0, SCE_GXM_YUV_PROFILE_BT709_STANDARD); } else {