Starting to support OSX

This commit is contained in:
YourWishes committed 2023-07-21 08:56:36 -07:00
1 parent 0a103c9283
commit ef6b269141
13 files changed
+141 -3

No files matched your search

+4
View File
@@ -34,6 +34,10 @@ int32_t DawnHost::init(DawnGame *game) {
// Setup window hints
glfwWindowHint(GLFW_OPENGL_DEBUG_CONTEXT, false);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
// Create Window
this->data->window = glfwCreateWindow(