mirror of
https://github.com/libretro/RetroArch.git
synced 2024-10-08 07:03:30 +00:00
Imageviewer no longer uses stb_image by default
This commit is contained in:
parent
712fb03341
commit
80f2e11799
@ -9,7 +9,7 @@
|
||||
#include <file/file_path.h>
|
||||
#include <compat/strl.h>
|
||||
|
||||
#define HAVE_STB_IMAGE
|
||||
//#define HAVE_STB_IMAGE
|
||||
|
||||
#ifdef HAVE_STB_IMAGE
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
@ -394,9 +394,10 @@ void IMAGE_CORE_PREFIX(retro_run)(void)
|
||||
/* RGBA > XRGB8888 */
|
||||
struct retro_system_av_info info;
|
||||
|
||||
uint32_t *buf = &image_buffer[0];
|
||||
#ifdef HAVE_STB_IMAGE
|
||||
int x, y;
|
||||
|
||||
uint32_t *buf = &image_buffer[0];
|
||||
|
||||
for (y = 0; y < image_height; y++)
|
||||
{
|
||||
for (x = 0; x < image_width; x++, buf++)
|
||||
@ -421,6 +422,7 @@ void IMAGE_CORE_PREFIX(retro_run)(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
IMAGE_CORE_PREFIX(retro_get_system_av_info)(&info);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user