Skip to content

Commit e65f116

Browse files
authored
Fix C4554 (#678)
1 parent f463d71 commit e65f116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/sdl/sdl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,11 @@ DEFINE_PRIM(_BOOL, hint_value, _BYTES _BYTES);
521521

522522
HL_PRIM SDL_Window *HL_NAME(win_create_ex)(int x, int y, int width, int height, int sdlFlags) {
523523
// force window to match device resolution on mobile
524-
if (sdlFlags & (
524+
if ((sdlFlags & (
525525
#ifdef HL_MAC
526526
SDL_WINDOW_METAL |
527527
#endif
528-
SDL_WINDOW_VULKAN ) == 0) {
528+
SDL_WINDOW_VULKAN )) == 0) {
529529
sdlFlags |= SDL_WINDOW_OPENGL;
530530
}
531531

0 commit comments

Comments
 (0)