From 750ee4ecdbe4c0f9d2eb72fa0fc0710f11ba035f Mon Sep 17 00:00:00 2001 From: kleeon Date: Thu, 30 Dec 2021 15:00:45 +0300 Subject: [PATCH] Fixed wrong function name in README.md --- vendor/OpenGL/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/OpenGL/README.md b/vendor/OpenGL/README.md index 9e7a7bbbc..928d5eb5d 100644 --- a/vendor/OpenGL/README.md +++ b/vendor/OpenGL/README.md @@ -9,7 +9,7 @@ gl.load_up_to(4, 5, proc(p: rawptr, name: cstring) do (cast(^rawptr)p)^ = glfw.G ``` [odin-glfw](https://github.com/vassvik/odin-glfw) also provides a useful helper you can pass straight to `gl.load_up_to`: ```go -gl.load_up_to(4, 5, glfw.set_proc_address); +gl.load_up_to(4, 5, glfw.gl_set_proc_address); ``` #### NOTE: It is recommended to put this into the shared collection: