Skip to content

Commit

Permalink
Set AX_USE_METAL and AX_USE_GL to 1 if defined (#1916)
Browse files Browse the repository at this point in the history
  • Loading branch information
smilediver committed May 22, 2024
1 parent db1b022 commit 02bb17d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/platform/PlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ Linux: Desktop GL/Vulkan

#if defined(__APPLE__)
# if !defined(AX_USE_GL)
# define AX_USE_METAL
# define AX_USE_METAL 1
# endif
#else // win32,linux,winuwp,android
# if !defined(AX_USE_GL)
# define AX_USE_GL
# define AX_USE_GL 1
# endif
#endif

Expand Down

0 comments on commit 02bb17d

Please sign in to comment.