fix: renderer default size value and example usage
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 41s

This commit is contained in:
2025-01-14 17:17:24 +01:00
parent 2efbb5feb1
commit f4a01f227e
2 changed files with 7 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ pub fn Direct(comptime fullscreen: bool) type {
_ = log;
_ = fullscreen;
return struct {
size: Size,
size: Size = undefined,
pub fn resize(this: *@This(), size: Size) void {
this.size = size;