mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +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);
|
const char *renderer = (const char*)glGetString(GL_RENDERER);
|
||||||
RARCH_LOG("[GL]: Vendor: %s, Renderer: %s.\n", vendor, renderer);
|
RARCH_LOG("[GL]: Vendor: %s, Renderer: %s.\n", vendor, renderer);
|
||||||
|
|
||||||
|
#ifndef RARCH_CONSOLE
|
||||||
rglgen_resolve_symbols(gl->ctx_driver->get_proc_address);
|
rglgen_resolve_symbols(gl->ctx_driver->get_proc_address);
|
||||||
|
#endif
|
||||||
|
|
||||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
|
||||||
|
@ -3,11 +3,13 @@
|
|||||||
|
|
||||||
#include "rglgen.h"
|
#include "rglgen.h"
|
||||||
|
|
||||||
|
#ifndef RARCH_CONSOLE
|
||||||
#ifdef HAVE_OPENGLES2
|
#ifdef HAVE_OPENGLES2
|
||||||
#include "glsym_es2.h"
|
#include "glsym_es2.h"
|
||||||
#else
|
#else
|
||||||
#include "glsym_gl.h"
|
#include "glsym_gl.h"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -204,6 +204,8 @@ VIDEO DRIVER
|
|||||||
|
|
||||||
#ifdef HAVE_OPENGL
|
#ifdef HAVE_OPENGL
|
||||||
#include "../gfx/gl.c"
|
#include "../gfx/gl.c"
|
||||||
|
|
||||||
|
#ifndef RARCH_CONSOLE
|
||||||
#include "../gfx/glsym/rglgen.c"
|
#include "../gfx/glsym/rglgen.c"
|
||||||
#ifdef HAVE_OPENGLES2
|
#ifdef HAVE_OPENGLES2
|
||||||
#include "../gfx/glsym/glsym_es2.c"
|
#include "../gfx/glsym/glsym_es2.c"
|
||||||
@ -212,6 +214,8 @@ VIDEO DRIVER
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_XVIDEO
|
#ifdef HAVE_XVIDEO
|
||||||
#include "../gfx/xvideo.c"
|
#include "../gfx/xvideo.c"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user