mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Should fix build on PS3.
This commit is contained in:
parent
8862908040
commit
7d942adaa3
2
gfx/gl.c
2
gfx/gl.c
@ -1866,7 +1866,9 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
const char *renderer = (const char*)glGetString(GL_RENDERER);
|
||||
RARCH_LOG("[GL]: Vendor: %s, Renderer: %s.\n", vendor, renderer);
|
||||
|
||||
#ifndef RARCH_CONSOLE
|
||||
rglgen_resolve_symbols(gl->ctx_driver->get_proc_address);
|
||||
#endif
|
||||
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
|
@ -3,11 +3,13 @@
|
||||
|
||||
#include "rglgen.h"
|
||||
|
||||
#ifndef RARCH_CONSOLE
|
||||
#ifdef HAVE_OPENGLES2
|
||||
#include "glsym_es2.h"
|
||||
#else
|
||||
#include "glsym_gl.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -204,6 +204,8 @@ VIDEO DRIVER
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
#include "../gfx/gl.c"
|
||||
|
||||
#ifndef RARCH_CONSOLE
|
||||
#include "../gfx/glsym/rglgen.c"
|
||||
#ifdef HAVE_OPENGLES2
|
||||
#include "../gfx/glsym/glsym_es2.c"
|
||||
@ -212,6 +214,8 @@ VIDEO DRIVER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_XVIDEO
|
||||
#include "../gfx/xvideo.c"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user