Skip to content

Commit

Permalink
Fix C4554 (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
nspitko committed Apr 21, 2024
1 parent f463d71 commit e65f116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/sdl/sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e65f116

Please sign in to comment.