mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
GRAPHICS3D: Don't build opengl stuff when it's not needed
This commit is contained in:
parent
04b1ce5a6e
commit
f11295edda
@ -8,10 +8,6 @@ MODULE_OBJS := \
|
||||
events/default/default-events.o \
|
||||
fs/abstract-fs.o \
|
||||
fs/stdiostream.o \
|
||||
graphics3d/opengl/framebuffer.o \
|
||||
graphics3d/opengl/surfacerenderer.o \
|
||||
graphics3d/opengl/texture.o \
|
||||
graphics3d/opengl/tiledsurface.o \
|
||||
keymapper/action.o \
|
||||
keymapper/hardware-input.o \
|
||||
keymapper/input-watcher.o \
|
||||
@ -148,7 +144,6 @@ MODULE_OBJS += \
|
||||
events/sdl/sdl-events.o \
|
||||
graphics/sdl/sdl-graphics.o \
|
||||
graphics/surfacesdl/surfacesdl-graphics.o \
|
||||
graphics3d/openglsdl/openglsdl-graphics3d.o \
|
||||
mixer/sdl/sdl-mixer.o \
|
||||
mutex/sdl/sdl-mutex.o \
|
||||
plugins/sdl/sdl-provider.o \
|
||||
@ -162,7 +157,12 @@ endif
|
||||
|
||||
ifdef USE_OPENGL
|
||||
MODULE_OBJS += \
|
||||
graphics/openglsdl/openglsdl-graphics.o
|
||||
graphics/openglsdl/openglsdl-graphics.o \
|
||||
graphics3d/opengl/framebuffer.o \
|
||||
graphics3d/opengl/surfacerenderer.o \
|
||||
graphics3d/opengl/texture.o \
|
||||
graphics3d/opengl/tiledsurface.o \
|
||||
graphics3d/openglsdl/openglsdl-graphics3d.o
|
||||
endif
|
||||
|
||||
ifdef USE_DISCORD
|
||||
@ -239,6 +239,10 @@ MODULE_OBJS += \
|
||||
graphics/android/android-graphics.o \
|
||||
graphics3d/android/android-graphics3d.o \
|
||||
graphics3d/android/texture.o \
|
||||
graphics3d/opengl/framebuffer.o \
|
||||
graphics3d/opengl/surfacerenderer.o \
|
||||
graphics3d/opengl/texture.o \
|
||||
graphics3d/opengl/tiledsurface.o \
|
||||
mutex/pthread/pthread-mutex.o
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user