Fix -Wundef warnings due to use of unguarded SDL_LSX_INTRINSICS

This commit is contained in:
Anonymous Maarten committed 2023-03-28 19:29:44 +02:00
1 parent b4873463dc
commit 6dd0a5665e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -422,7 +422,7 @@ static SDL_bool yuv_rgb_sse(
}
#endif
#if SDL_LSX_INTRINSICS
#ifdef SDL_LSX_INTRINSICS
static SDL_bool yuv_rgb_lsx(
Uint32 src_format, Uint32 dst_format,
Uint32 width, Uint32 height,
+1 -1
View File
@@ -684,7 +684,7 @@ void SDL_TARGETING("sse2") rgb24_yuv420_sseu(uint32_t width, uint32_t height,
#endif //SDL_SSE2_INTRINSICS
#if SDL_LSX_INTRINSICS
#ifdef SDL_LSX_INTRINSICS
#define LSX_FUNCTION_NAME yuv420_rgb24_lsx
#define STD_FUNCTION_NAME yuv420_rgb24_std