diff options
| author | hikari <ftphikari@gmail.com> | 2022-12-06 00:00:05 +0200 |
|---|---|---|
| committer | hikari <ftphikari@gmail.com> | 2022-12-06 00:00:05 +0200 |
| commit | ce1ee962f5a7e00a6ff9ebf4adccc09f2dff68c3 (patch) | |
| tree | edf32a12a126f0f7055e12c7ca6b761068d6a34a /vendor | |
| parent | d0e4edfb43a1f5bebf705c4efc2c6883360ca66e (diff) | |
OpenGL: updated README
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/OpenGL/README.md | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/vendor/OpenGL/README.md b/vendor/OpenGL/README.md index 928d5eb5d..3f5f05c81 100644 --- a/vendor/OpenGL/README.md +++ b/vendor/OpenGL/README.md @@ -7,17 +7,11 @@ Includes procedures to load OpenGL function pointers. Currently only supports th ```go gl.load_up_to(4, 5, proc(p: rawptr, name: cstring) do (cast(^rawptr)p)^ = glfw.GetProcAddress(name); ); ``` -[odin-glfw](https://github.com/vassvik/odin-glfw) also provides a useful helper you can pass straight to `gl.load_up_to`: +`vendor:glfw` also provides a useful helper you can pass straight to `gl.load_up_to`: ```go gl.load_up_to(4, 5, glfw.gl_set_proc_address); ``` -#### NOTE: It is recommended to put this into the shared collection: -``` -cd /path/to/Odin/shared -git clone https://github.com/vassvik/odin-gl.git -``` - ## Extra utility procedures (Outdated. See the end of `gl.odin`) Some useful helper procedures can be found in `helpers.odin`, for tasks such as: @@ -56,4 +50,4 @@ glGetError() returned NO_ERROR glGetError() returned NO_ERROR call: glClearColor(0.800, 0.800, 0.800, 1.000) in: C:/<snip>/main.odin(272:6) -```
\ No newline at end of file +``` |