Starting to support OSX

This commit is contained in:
2023-07-21 08:56:36 -07:00
parent 0a103c9283
commit ef6b269141
13 changed files with 141 additions and 3 deletions

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(