aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkleeon <batiasrg@yandex.ru>2021-12-30 15:00:45 +0300
committerkleeon <batiasrg@yandex.ru>2021-12-30 15:49:07 +0300
commit750ee4ecdbe4c0f9d2eb72fa0fc0710f11ba035f (patch)
tree9ecea24bed2798c23c83335a4a714cc0f1323d06
parented742846cb6447d9d9ff6a4cfde285d7f4bb0eb9 (diff)
Fixed wrong function name in README.md
-rw-r--r--vendor/OpenGL/README.md2
1 files changed, 1 insertions, 1 deletions
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: