overlays-personal/pkgs/vcv-rack/glfw.patch
EEva (JPotier) 604fe3ed2e Fix patches
2019-07-17 20:42:58 +03:00

13 lines
345 B
Diff

diff --git a/src/init.c b/src/init.c
index af4a579e..317e25b8 100644
--- a/src/init.c
+++ b/src/init.c
@@ -339,7 +339,7 @@ GLFWAPI GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
char glfwOpenedFilename[1024];
-const char *glfwGetOpenedFilename()
+GLFWAPI const char *glfwGetOpenedFilename()
{
if (glfwOpenedFilename[0])
{