added documentation and changed api for callbacks
This commit is contained in:
parent
b4365bad8e
commit
e375e213f7
4 changed files with 490 additions and 64 deletions
|
@ -85,7 +85,7 @@ pub fn main() !void {
|
|||
defer allocator.free(memory);
|
||||
const arena: cl.Arena = cl.createArenaWithCapacityAndMemory(memory);
|
||||
_ = cl.initialize(arena, .{ .h = 1000, .w = 1000 }, .{});
|
||||
cl.setMeasureTextFunction({}, renderer.measureText);
|
||||
cl.setMeasureTextFunction(void, {}, renderer.measureText);
|
||||
|
||||
// init raylib
|
||||
rl.setConfigFlags(.{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue