There was an error while loading. Please reload this page.
1 parent e5b00b6 commit ca87f3fCopy full SHA for ca87f3f
README.md
@@ -34,7 +34,7 @@ pub fn main() !void {
34
gl.clearBufferfv(gl.COLOR, 0, &.{ 0.2, 0.4, 0.8, 1.0 });
35
}
36
37
-fn getProcAddress(name: [:0]const u8) callconv(.c) ?*const anyopaque {
+fn getProcAddress(name: [*:0]const u8) callconv(.c) ?*const anyopaque {
38
// Load GL function pointer here
39
// You could use `zsdl.gl.getProcAddress() or `zglfw.getProcAddress()`
40
0 commit comments