mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
macOS: fix crash on launch when opengl is used
This commit is contained in:
+3
-1
@@ -26,8 +26,10 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <QuartzCore/CAMetalLayer.h>
|
||||
|
||||
#if __has_include(<SDL3/SDL.h>)
|
||||
#include <SDL3/SDL.h>
|
||||
#else
|
||||
#include <SDL.h>
|
||||
#if !SDL_VERSION_ATLEAST(3, 0, 0)
|
||||
#include <SDL_syswm.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user