Fixed wrong function name in README.md

This commit is contained in:
kleeon
2021-12-30 15:00:45 +03:00
parent ed742846cb
commit 750ee4ecdb

View File

@@ -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: