summaryrefslogtreecommitdiff
path: root/src/macos.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-27 14:44:43 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-27 14:44:55 +0300
commit25c5dccac8d31febaae263befafe6d50d8660342 (patch)
tree46e9c4a44162ce101a87f990300020c4183c7bd0 /src/macos.h
parent8afa95b0183d041ff90ad2f49805540fe8bd8cba (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.h2
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
29iBool shouldDefaultToMetalRenderer_MacOS (void);
30
29void setupApplication_MacOS (void); 31void setupApplication_MacOS (void);
30void insertMenuItems_MacOS (const char *menuLabel, int atIndex, const iMenuItem *items, size_t count); 32void insertMenuItems_MacOS (const char *menuLabel, int atIndex, const iMenuItem *items, size_t count);
31void handleCommand_MacOS (const char *cmd); 33void handleCommand_MacOS (const char *cmd);