mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 23:06:40 +00:00
(GL) Fix mixe code declaration (for C89_BUILD)
This commit is contained in:
parent
ab325df65d
commit
b9ba75403e
@ -57,6 +57,10 @@ ifeq ($(HAVE_FILE_LOGGER), 1)
|
||||
CFLAGS += -DHAVE_FILE_LOGGER
|
||||
endif
|
||||
|
||||
ifeq ($(C89_BUILD), 1)
|
||||
CFLAGS += -DC89_BUILD
|
||||
endif
|
||||
|
||||
CFLAGS += -I./libretro-common/include
|
||||
|
||||
# Switches
|
||||
|
@ -1633,6 +1633,7 @@ static bool gl_frame(void *data, const void *frame,
|
||||
unsigned pitch, const char *msg)
|
||||
{
|
||||
unsigned width, height;
|
||||
struct gfx_tex_info feedback_info;
|
||||
static struct retro_perf_counter frame_run = {0};
|
||||
gl_t *gl = (gl_t*)data;
|
||||
driver_t *driver = driver_get_ptr();
|
||||
@ -1742,7 +1743,8 @@ static bool gl_frame(void *data, const void *frame,
|
||||
gl->tex_info.tex_size[0] = gl->tex_w;
|
||||
gl->tex_info.tex_size[1] = gl->tex_h;
|
||||
|
||||
struct gfx_tex_info feedback_info = gl->tex_info;
|
||||
feedback_info = gl->tex_info;
|
||||
|
||||
if (gl->fbo_feedback_enable)
|
||||
{
|
||||
const struct gfx_fbo_rect *rect = &gl->fbo_rect[gl->fbo_feedback_pass];
|
||||
|
@ -45,9 +45,11 @@
|
||||
#include "../input/drivers_joypad/parport_joypad.c"
|
||||
#endif
|
||||
|
||||
#ifndef C89_BUILD
|
||||
#if defined(HAVE_SDL) || defined(HAVE_SDL2)
|
||||
#include "../input/drivers_joypad/sdl_joypad.c"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "../libretro-common/queues/fifo_buffer.c"
|
||||
#include "../libretro-common/file/config_file.c"
|
||||
|
Loading…
Reference in New Issue
Block a user