mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 18:40:25 +00:00
Bake rbmp_encode.c in
This commit is contained in:
parent
2945bb9f50
commit
08c0cf1ce3
@ -794,10 +794,9 @@ endif
|
|||||||
ifeq ($(HAVE_RPNG), 1)
|
ifeq ($(HAVE_RPNG), 1)
|
||||||
OBJ += libretro-common/formats/png/rpng.o \
|
OBJ += libretro-common/formats/png/rpng.o \
|
||||||
libretro-common/formats/png/rpng_encode.o
|
libretro-common/formats/png/rpng_encode.o
|
||||||
else
|
|
||||||
OBJ += libretro-common/formats/bmp/rbmp_encode.o
|
|
||||||
endif
|
endif
|
||||||
OBJ += libretro-common/formats/tga/tga_decode.o
|
OBJ += libretro-common/formats/bmp/rbmp_encode.o \
|
||||||
|
libretro-common/formats/tga/tga_decode.o
|
||||||
|
|
||||||
ifdef HAVE_COMPRESSION
|
ifdef HAVE_COMPRESSION
|
||||||
DEFINES += -DHAVE_COMPRESSION
|
DEFINES += -DHAVE_COMPRESSION
|
||||||
|
@ -176,9 +176,8 @@ VIDEO IMAGE
|
|||||||
#ifdef HAVE_RPNG
|
#ifdef HAVE_RPNG
|
||||||
#include "../libretro-common/formats/png/rpng.c"
|
#include "../libretro-common/formats/png/rpng.c"
|
||||||
#include "../libretro-common/formats/png/rpng_encode.c"
|
#include "../libretro-common/formats/png/rpng_encode.c"
|
||||||
#else
|
|
||||||
#include "../libretro-common/formats/bmp/rbmp_encode.c"
|
|
||||||
#endif
|
#endif
|
||||||
|
#include "../libretro-common/formats/bmp/rbmp_encode.c"
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
VIDEO DRIVER
|
VIDEO DRIVER
|
||||||
|
@ -31,11 +31,12 @@
|
|||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
#include <compat/strl.h>
|
#include <compat/strl.h>
|
||||||
|
|
||||||
|
#include <formats/rbmp.h>
|
||||||
|
|
||||||
#if defined(HAVE_ZLIB_DEFLATE) && defined(HAVE_RPNG)
|
#if defined(HAVE_ZLIB_DEFLATE) && defined(HAVE_RPNG)
|
||||||
#include <formats/rpng.h>
|
#include <formats/rpng.h>
|
||||||
#define IMG_EXT "png"
|
#define IMG_EXT "png"
|
||||||
#else
|
#else
|
||||||
#include <formats/rbmp.h>
|
|
||||||
#define IMG_EXT "bmp"
|
#define IMG_EXT "bmp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user