Skip to content

Commit a192c3b

Browse files
authored
Update README.md
1 parent 51df2a3 commit a192c3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [zopengl](https://github.com/zig-gamedev/zopengl)
22

3-
OpenGL loader interface, bindings and optional wrapper for Zig.
3+
OpenGL loader interface, bindings and optional type-safe wrapper for Zig.
44

55
Supports:
66
* OpenGL Core Profile up to version 4.3
@@ -31,7 +31,7 @@ pub fn main() !void {
3131
3232
const gl = zopengl.bindings; // or zopengl.wrapper (experimental)
3333
34-
gl.clearBufferfv(gl.COLOR, 0, &[_]f32{ 0.2, 0.4, 0.8, 1.0 });
34+
gl.clearBufferfv(gl.COLOR, 0, &.{ 0.2, 0.4, 0.8, 1.0 });
3535
}
3636
3737
fn getProcAddress(name: [:0]const u8) callconv(.c) ?*const anyopaque {

0 commit comments

Comments
 (0)