Skip to content

Commit fc0cb50

Browse files
committed
add glfwGetCursorPos stub
1 parent 1dde70f commit fc0cb50

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/custom/glfw.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ GLFWAPI GLFWcursor* glfwCreateStandardCursor(const int shape)
9090
}
9191
}
9292

93+
GLFWAPI void glfwGetCursorPos(GLFWwindow* handle, double* xpos, double* ypos)
94+
{
95+
// stub for now, only used for the Mouse Tracker functionality in Moffenzeep/Particles
96+
}
97+
9398
GLFWAPI void glfwSetCursor(GLFWwindow*, GLFWcursor* const cursor)
9499
{
95100
CardinalPluginContext* const context = static_cast<CardinalPluginContext*>(APP);

0 commit comments

Comments
 (0)