diff --git a/vlib/gl/gl.v b/vlib/gl/gl.v index a97be08071..22da632379 100644 --- a/vlib/gl/gl.v +++ b/vlib/gl/gl.v @@ -48,6 +48,8 @@ fn C.gladLoadGL() fn C.glTexImage2D() fn C.glPixelStorei() fn C.glBlendFunc() +fn C.glPolygonMode() +fn C.glDeleteBuffers() diff --git a/vlib/glfw/glfw.v b/vlib/glfw/glfw.v index 6e3816ea96..7def0c39b3 100644 --- a/vlib/glfw/glfw.v +++ b/vlib/glfw/glfw.v @@ -60,7 +60,7 @@ fn C.glfwSetClipboardString() fn C.glfwGetWindowContentScale() fn C.glfwGetClipboardString() fn C.glfwGetKey() -fn C.glfwGetTime() +fn C.glfwGetTime() f64 fn C.glfwSetCharModsCallback() fn C.glfwSetKeyCallback() fn C.glfwPostEmptyEvent() @@ -69,6 +69,19 @@ fn C.glfwSetWindowSizeCallback() fn C.glfwSetMouseButtonCallback() fn C.glfwSetCursorPosCallback() fn C.glfwSwapBuffers() +fn C.glfwWindowShouldClose() +fn C.glfwSetWindowShouldClose() +fn C.glfwWaitEvents() +fn C.glfwPollEvents() +fn C.glfwSwapInterval() +fn C.glfwMakeContextCurrent() +fn C.glfwSetWindowTitle() +fn C.glfwTerminate() +fn C.glfwCreateWindow() +fn C.glfwWindowHint() +fn C.glfwDestroyWindow() +fn C.glfwInit() +fn C.glGetIntegerv() // joe-c: fix & remove struct TmpGlImportHack { diff --git a/vlib/rand/rand.v b/vlib/rand/rand.v index a447142fb8..d20750fe7e 100644 --- a/vlib/rand/rand.v +++ b/vlib/rand/rand.v @@ -31,3 +31,4 @@ pub fn rand_r(seed &int) int { } } +