mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
Add ifdef
This commit is contained in:
parent
3ba02a3786
commit
dca400aa40
@ -50,6 +50,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_ZLIB_DEFLATE) && defined(HAVE_RPNG)
|
||||||
static INLINE void convert_frame_to_bgr_24(
|
static INLINE void convert_frame_to_bgr_24(
|
||||||
struct scaler_ctx *scaler,
|
struct scaler_ctx *scaler,
|
||||||
void *output,
|
void *output,
|
||||||
@ -76,6 +77,7 @@ static INLINE void convert_frame_to_bgr_24(
|
|||||||
|
|
||||||
scaler_ctx_scale(scaler, output, input);
|
scaler_ctx_scale(scaler, output, input);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Take frame bottom-up. */
|
/* Take frame bottom-up. */
|
||||||
static bool screenshot_dump(const char *folder, const void *frame,
|
static bool screenshot_dump(const char *folder, const void *frame,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user