diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-27 14:44:43 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-27 14:44:55 +0300 |
commit | 25c5dccac8d31febaae263befafe6d50d8660342 (patch) | |
tree | 46e9c4a44162ce101a87f990300020c4183c7bd0 /src/macos.h | |
parent | 8afa95b0183d041ff90ad2f49805540fe8bd8cba (diff) |
macOS: 10.13 should use OpenGL renderer
There appears to be a problem with SDL's Metal renderer under 10.13 (segfault on window creation).
Diffstat (limited to 'src/macos.h')
-rw-r--r-- | src/macos.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macos.h b/src/macos.h index 07990090..700d50f8 100644 --- a/src/macos.h +++ b/src/macos.h | |||
@@ -26,6 +26,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
26 | 26 | ||
27 | /* Platform-specific functionality for macOS */ | 27 | /* Platform-specific functionality for macOS */ |
28 | 28 | ||
29 | iBool shouldDefaultToMetalRenderer_MacOS (void); | ||
30 | |||
29 | void setupApplication_MacOS (void); | 31 | void setupApplication_MacOS (void); |
30 | void insertMenuItems_MacOS (const char *menuLabel, int atIndex, const iMenuItem *items, size_t count); | 32 | void insertMenuItems_MacOS (const char *menuLabel, int atIndex, const iMenuItem *items, size_t count); |
31 | void handleCommand_MacOS (const char *cmd); | 33 | void handleCommand_MacOS (const char *cmd); |