[Scummvm-git-logs] scummvm master -> e87773484c803d272ad5cbbfd902f1f8ee21992a

aquadran noreply at scummvm.org
Fri Mar 4 17:02:34 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e87773484c BACKENDS: Add guard for SDL backend code under USE_OPENGL flag


Commit: e87773484c803d272ad5cbbfd902f1f8ee21992a
    https://github.com/scummvm/scummvm/commit/e87773484c803d272ad5cbbfd902f1f8ee21992a
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2022-03-04T18:02:29+01:00

Commit Message:
BACKENDS: Add guard for SDL backend code under USE_OPENGL flag

Changed paths:
    backends/module.mk


diff --git a/backends/module.mk b/backends/module.mk
index 698756b4697..03e8d961b8a 100644
--- a/backends/module.mk
+++ b/backends/module.mk
@@ -157,13 +157,16 @@ endif
 
 ifdef USE_OPENGL
 MODULE_OBJS += \
-	graphics/openglsdl/openglsdl-graphics.o \
 	graphics3d/opengl/framebuffer.o \
 	graphics3d/opengl/surfacerenderer.o \
 	graphics3d/opengl/texture.o \
-	graphics3d/opengl/tiledsurface.o \
+	graphics3d/opengl/tiledsurface.o
+ifdef SDL_BACKEND
+MODULE_OBJS += \
+	graphics/openglsdl/openglsdl-graphics.o \
 	graphics3d/openglsdl/openglsdl-graphics3d.o
 endif
+endif
 
 ifdef USE_DISCORD
 MODULE_OBJS += \




More information about the Scummvm-git-logs mailing list