[Scummvm-git-logs] scummvm master -> 66061a317c5c717c451f955a430935b2b82422a3

spleen1981 noreply at scummvm.org
Mon Sep 23 18:43:15 UTC 2024


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:
66061a317c LIBRETRO: BUILD: define OPENGL_DEBUG if DEBUG is defined


Commit: 66061a317c5c717c451f955a430935b2b82422a3
    https://github.com/scummvm/scummvm/commit/66061a317c5c717c451f955a430935b2b82422a3
Author: Giovanni Cascione (ing.cascione at gmail.com)
Date: 2024-09-23T20:19:43+02:00

Commit Message:
LIBRETRO: BUILD: define OPENGL_DEBUG if DEBUG is defined

Changed paths:
    backends/platform/libretro/Makefile.common


diff --git a/backends/platform/libretro/Makefile.common b/backends/platform/libretro/Makefile.common
index a431309afb4..f23f8d6c838 100644
--- a/backends/platform/libretro/Makefile.common
+++ b/backends/platform/libretro/Makefile.common
@@ -135,6 +135,9 @@ ifeq ($(or $(HAVE_OPENGL), $(HAVE_OPENGLES2)), 1)
    USE_OPENGL_GAME := 1
    USE_OPENGL_SHADERS := 1
    DEFINES += -DUSE_OPENGL -DUSE_GLAD -DUSE_OPENGL_GAME -DUSE_OPENGL_SHADERS
+ifeq ($(DEBUG), 1)
+   DEFINES += -DOPENGL_DEBUG
+endif
 ifeq ($(HAVE_OPENGL), 1)
    DEFINES += -DHAVE_OPENGL
    $(info Support for OpenGL requested)




More information about the Scummvm-git-logs mailing list