Skip to content

Commit a6990cd

Browse files
author
Felix "xq" Queißner
committed
Disclaimer in the readme.
1 parent 7a4b752 commit a6990cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ Right now, it does minimal adjustments like removing the `gl` prefix from functi
99
There is a single non-OpenGL function exported:
1010

1111
```zig
12-
pub fn load(load_ctx: anytype, get_proc_address: fn(@TypeOf(load_ctx), [:0]const u8) ?*c_void) !void {
12+
pub fn load(load_ctx: anytype, get_proc_address: fn(@TypeOf(load_ctx), [:0]const u8) ?*const c_void) !void {
1313
```
1414

1515
This function will load all OpenGL entry points with the help of `get_proc_address`. It receives the `load_ctx` as well as the function name.
1616

17+
**NOTE:** Please do not reference `zig-opengl` as a submodule or a package. Generate a binding and copy the output of that into your repository and update the file on demand. The OpenGL Registry is just too huge to be used conveniently.
18+
1719
## Example
1820

1921
This example uses [ZWL](https://github.com/Aransentin/ZWL/) by @Aransentin.

0 commit comments

Comments
 (0)