mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-05 16:45:33 +02:00
Fix -Wundef warnings due to use of unguarded SDL_LSX_INTRINSICS
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user