From b9a98e2630ef049ffddb4250a671ad57b97e06ea Mon Sep 17 00:00:00 2001 From: Issac332 <119879937+Issac8658@users.noreply.github.com> Date: Tue, 9 Jun 2026 18:52:27 +0300 Subject: [PATCH] grphcs.cpp scrt.cpp --- src/graphics.cpp | 2 +- src/security.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graphics.cpp b/src/graphics.cpp index 4e20b22..304c9e0 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -730,7 +730,7 @@ void Graphics::transition(unsigned int duration, const char *filename, int vague simpleShader.setProg(prog); } - #ifndef __linux__ || BSD || __unix__ + #if !defined(__linux__) && !defined(BSD) && !defined(__unix__) if (p->threadData->exiting) SDL_SetWindowOpacity(p->threadData->window, 1.0f - prog); #endif diff --git a/src/security.cpp b/src/security.cpp index fbc3c49..36e26ad 100644 --- a/src/security.cpp +++ b/src/security.cpp @@ -54,8 +54,8 @@ void SecurityManagerInit(){ securitystate = "sandboxed_SECCOMP"; - #elif - Debug() << "[SECURITY] SecurityManager doesn't support this platform."; + #else + Debug() << "[SECURITY] SecurityManager doesn't support this platform."; #endif }