2
0
Эх сурвалжийг харах

Merge pull request #1399 from kleeon/master

Fixed wrong function name in vendor/OpenGL/README.md
gingerBill 3 жил өмнө
parent
commit
9a46463078

+ 1 - 1
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`:
 [odin-glfw](https://github.com/vassvik/odin-glfw) also provides a useful helper you can pass straight to `gl.load_up_to`:
 ```go
 ```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:
 #### NOTE: It is recommended to put this into the shared collection: