From e65f116a789a66afe2ec93ff563c55e0725240a9 Mon Sep 17 00:00:00 2001 From: Spitko Date: Sun, 21 Apr 2024 02:22:38 -0700 Subject: [PATCH] Fix C4554 (#678) --- libs/sdl/sdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sdl/sdl.c b/libs/sdl/sdl.c index 212e20e20..183c49987 100644 --- a/libs/sdl/sdl.c +++ b/libs/sdl/sdl.c @@ -521,11 +521,11 @@ DEFINE_PRIM(_BOOL, hint_value, _BYTES _BYTES); HL_PRIM SDL_Window *HL_NAME(win_create_ex)(int x, int y, int width, int height, int sdlFlags) { // force window to match device resolution on mobile - if (sdlFlags & ( + if ((sdlFlags & ( #ifdef HL_MAC SDL_WINDOW_METAL | #endif - SDL_WINDOW_VULKAN ) == 0) { + SDL_WINDOW_VULKAN )) == 0) { sdlFlags |= SDL_WINDOW_OPENGL; }