Merge commit '60789230be4092f2fbd2b2245949603d7d5513b8'
This commit is contained in:
3
deps/nostalgia/deps/glfw/tests/monitors.c
vendored
3
deps/nostalgia/deps/glfw/tests/monitors.c
vendored
@@ -28,6 +28,7 @@
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#define GLAD_GL_IMPLEMENTATION
|
||||
#include <glad/gl.h>
|
||||
#define GLFW_INCLUDE_NONE
|
||||
#include <GLFW/glfw3.h>
|
||||
@@ -241,6 +242,8 @@ int main(int argc, char** argv)
|
||||
|
||||
glfwSetErrorCallback(error_callback);
|
||||
|
||||
glfwInitHint(GLFW_COCOA_MENUBAR, GLFW_FALSE);
|
||||
|
||||
if (!glfwInit())
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user