Commit 3b48f5c4 authored by orbea's avatar orbea
Browse files

Makefile: Allow optionally building the older gl2 renderer.

parent f3c8b026
DEBUG := 0
NO_REND := 0
HAVE_GL := 1
HAVE_GL2 := 0
HAVE_OIT := 0
HAVE_CORE := 0
NO_THREADS := 0
......@@ -116,8 +117,10 @@ ifneq (,$(findstring unix,$(platform)))
LIBS += -lrt
endif
ifneq ($(HAVE_OIT), 1)
HAVE_GL3 = 1
ifneq ($(HAVE_GL2), 1)
ifneq ($(HAVE_OIT), 1)
HAVE_GL3 = 1
endif
endif
fpic = -fPIC
......@@ -389,8 +392,10 @@ else ifeq ($(platform), emscripten)
# Windows
else
ifneq ($(HAVE_OIT), 1)
HAVE_GL3 = 1
ifneq ($(HAVE_GL2), 1)
ifneq ($(HAVE_OIT), 1)
HAVE_GL3 = 1
endif
endif
EXT ?= dll
HAVE_GENERIC_JIT = 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment