mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 19:30:41 +00:00
LIBRETRO: BUILD: add FORCE_OPENGL*
This commit is contained in:
parent
b8dac3f5b0
commit
3df20dd9c6
@ -34,6 +34,9 @@ USE_LIBCO ?= 1
|
||||
USE_MT32EMU ?= 1
|
||||
USE_CLOUD ?= 0
|
||||
DEBUG ?= 0
|
||||
FORCE_OPENGL ?= 0
|
||||
FORCE_OPENGLES2 ?= 0
|
||||
FORCE_OPENGLNONE ?= 0
|
||||
|
||||
DEBUG_ALLOW_DIRTY_SUBMODULES ?= 0
|
||||
|
||||
@ -112,6 +115,21 @@ else
|
||||
DEFINES += -DDISABLE_TEXT_CONSOLE -DRELEASE_BUILD
|
||||
endif
|
||||
|
||||
ifeq ($(FORCE_OPENGL), 1)
|
||||
HAVE_OPENGL := 1
|
||||
HAVE_OPENGLES2 :=
|
||||
endif
|
||||
|
||||
ifeq ($(FORCE_OPENGLES2), 1)
|
||||
HAVE_OPENGL :=
|
||||
HAVE_OPENGLES2 := 1
|
||||
endif
|
||||
|
||||
ifeq ($(FORCE_OPENGLNONE), 1)
|
||||
HAVE_OPENGL :=
|
||||
HAVE_OPENGLES2 :=
|
||||
endif
|
||||
|
||||
ifeq ($(or $(HAVE_OPENGL), $(HAVE_OPENGLES2)), 1)
|
||||
USE_OPENGL := 1
|
||||
USE_OPENGL_GAME := 1
|
||||
|
Loading…
Reference in New Issue
Block a user