Fix -Wundef warnings due to use of unguarded SDL_LSX_INTRINSICS
This commit is contained in:
1 parent
b4873463dc
commit
6dd0a5665e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -422,7 +422,7 @@ static SDL_bool yuv_rgb_sse(
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SDL_LSX_INTRINSICS
|
#ifdef SDL_LSX_INTRINSICS
|
||||||
static SDL_bool yuv_rgb_lsx(
|
static SDL_bool yuv_rgb_lsx(
|
||||||
Uint32 src_format, Uint32 dst_format,
|
Uint32 src_format, Uint32 dst_format,
|
||||||
Uint32 width, Uint32 height,
|
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
|
#endif //SDL_SSE2_INTRINSICS
|
||||||
|
|
||||||
#if SDL_LSX_INTRINSICS
|
#ifdef SDL_LSX_INTRINSICS
|
||||||
|
|
||||||
#define LSX_FUNCTION_NAME yuv420_rgb24_lsx
|
#define LSX_FUNCTION_NAME yuv420_rgb24_lsx
|
||||||
#define STD_FUNCTION_NAME yuv420_rgb24_std
|
#define STD_FUNCTION_NAME yuv420_rgb24_std
|
||||||
|
|||||||
Reference in new issue
Block a user