Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Sep 15, 2024
1 parent 2573baa commit 1c41db1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simulator/simulator.render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ namespace mrover {
constexpr auto WINDOW_NAME = "MRover Simulator (DEBUG BUILD, MAY BE SLOW)";
#endif
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
// There is still an off-by-one error on Vulkan with resizing windows and ImGui.
// See: https://matrix.to/#/!ZSOHTEPDbwuEgSJwYw:matrix.org
glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE);
glfwWindowHint(GLFW_COCOA_RETINA_FRAMEBUFFER, GLFW_FALSE);
mWindow = GlfwPointer<GLFWwindow, glfwCreateWindow, glfwDestroyWindow>{w, h, WINDOW_NAME, nullptr, nullptr};
Expand Down

0 comments on commit 1c41db1

Please sign in to comment.