mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
Fix build.
This commit is contained in:
parent
1c2c2e1a37
commit
0171023edc
@ -397,6 +397,7 @@ void gfx_ctx_input_driver(const input_driver_t **input, void **input_data)
|
||||
*input = NULL;
|
||||
}
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
void gfx_ctx_set_projection(gl_t *gl, bool allow_rotate)
|
||||
{
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
@ -409,3 +410,5 @@ void gfx_ctx_set_projection(gl_t *gl, bool allow_rotate)
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glLoadIdentity();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
#define _SDL_CTX_H
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_opengl.h"
|
||||
#include "SDL_version.h"
|
||||
|
||||
#if SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
|
@ -21,10 +21,15 @@
|
||||
#include "../boolean.h"
|
||||
#include "../driver.h"
|
||||
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
#include "gl_common.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SDL
|
||||
#include "SDL_syswm.h"
|
||||
#endif
|
||||
@ -64,10 +69,12 @@ bool gfx_ctx_menu_init(void)
|
||||
|
||||
#ifdef RARCH_CONSOLE
|
||||
void gfx_ctx_set_filtering(unsigned index, bool set_smooth);
|
||||
void gfx_ctx_get_available_resolutions (void);
|
||||
void gfx_ctx_get_available_resolutions(void);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
void gfx_ctx_set_projection(gl_t *gl, bool allow_rotate);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user