Skip to content

Commit 841229a

Browse files
authored
Merge pull request #62 from smp79/glvnd
Add modern GLVND support for UNIX platform
2 parents a103a21 + 84c3fe5 commit 841229a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.libretro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
DEBUG=0
22
FRONTEND_SUPPORTS_RGB565=1
33
HAS_GPU ?= 1
4+
USE_GLVND ?= 0
45

56
ifeq ($(platform),)
67
platform = unix
@@ -64,6 +65,8 @@ ifeq ($(platform), unix)
6465
ifeq ($(HAS_GLES), 1)
6566
GL_LIB := -lGLESv2
6667
GLES :=1
68+
else ifeq ($(USE_GLVND), 1)
69+
GL_LIB := -lOpenGL
6770
else
6871
GL_LIB := -lGL
6972
endif

0 commit comments

Comments
 (0)