mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpigui] disable changing directory when initializing on MacOS (#4092)
- Seems to be intended for resource bundles in MacOS apps, which we don't use
This commit is contained in:
@@ -125,6 +125,7 @@ bool gui::Initialize(const char* title, int width, int height) {
|
||||
// Setup window
|
||||
glfwSetErrorCallback(ErrorCallback);
|
||||
glfwInitHint(GLFW_JOYSTICK_HAT_BUTTONS, GLFW_FALSE);
|
||||
glfwInitHint(GLFW_COCOA_CHDIR_RESOURCES, GLFW_FALSE);
|
||||
PlatformGlfwInitHints();
|
||||
if (!glfwInit()) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user