If USE_BGFX is enabled, sdl.mak switches to ldd linking of

GL libraries. (nw)
This commit is contained in:
couriersud 2015-02-01 16:11:19 +01:00
parent 68fb63ad77
commit e7f527fbd8

View File

@ -755,6 +755,17 @@ OSDOBJS += \
$(OSDOBJ)/modules/debugger/debugqt.o \
#-------------------------------------------------
# BGFX
#-------------------------------------------------
ifdef USE_BGFX
DEFS += -DUSE_BGFX
OSDOBJS += $(SDLOBJ)/drawbgfx.o
INCPATH += -I$(3RDPARTY)/bgfx/include -I$(3RDPARTY)/bx/include
USE_DISPATCH_GL = 0
endif
#-------------------------------------------------
# OPENGL
#-------------------------------------------------
@ -779,15 +790,6 @@ INCPATH += -I$(MESA_INSTALL_ROOT)/include
endif
endif
#-------------------------------------------------
# BGFX
#-------------------------------------------------
ifdef USE_BGFX
DEFS += -DUSE_BGFX
OSDOBJS += $(SDLOBJ)/drawbgfx.o
INCPATH += -I$(3RDPARTY)/bgfx/include -I$(3RDPARTY)/bx/include
endif
#-------------------------------------------------
# X11