Starting to support OSX
This commit is contained in:
1 parent
0a103c9283
commit
ef6b269141
13 files changed
+141
-3
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user