mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-22 23:49:50 +00:00
Build with vendor-neutral OpenGL implementation by doing
./configure --disable-glx
This commit is contained in:
parent
853c2cc14e
commit
8abe49abb4
@ -399,6 +399,10 @@ if [ "$HAVE_OPENGL" != 'no' ] && [ "$HAVE_OPENGLES" != 'yes' ]; then
|
||||
elif [ "$OS" = 'Win32' ]; then
|
||||
check_header '' OPENGL "GL/gl.h"
|
||||
check_lib '' OPENGL -lopengl32
|
||||
elif [ "$HAVE_GLX" = 'no' ]; then
|
||||
# Use vendor-neutral OpenGL implementation instead of GLX
|
||||
check_header '' OPENGL "GL/gl.h"
|
||||
check_lib '' OPENGL -lOpenGL
|
||||
else
|
||||
check_header '' OPENGL "GL/gl.h"
|
||||
check_lib '' OPENGL -lGL
|
||||
|
@ -183,6 +183,7 @@ HAVE_VIDEOCORE=auto # Broadcom Videocore 4 support
|
||||
HAVE_DRMINGW=no # DrMingw exception handler
|
||||
HAVE_CDROM=auto # CD-ROM support
|
||||
HAVE_GLSL=yes # GLSL shaders support
|
||||
HAVE_GLX=auto # GLX support (set this to 'off' for vendor-neutral OpenGL impl)
|
||||
HAVE_SLANG=auto # slang support
|
||||
C89_SLANG=no
|
||||
HAVE_GLSLANG=auto # glslang support (requires C++11)
|
||||
|
@ -335,7 +335,7 @@ static char *copy_core_to_temp_file(
|
||||
int64_t dll_file_size = 0;
|
||||
const char *core_base_name = path_basename_nocompression(core_path);
|
||||
|
||||
if (strlen(core_base_name) == 0)
|
||||
if (string_is_empty(core_base_name))
|
||||
return NULL;
|
||||
|
||||
if (!(tmpdir = get_tmpdir_alloc(dir_libretro)))
|
||||
|
Loading…
Reference in New Issue
Block a user