app: add resize callback function
This commit is contained in:
parent
c62b5ba52f
commit
adf5332969
2 changed files with 15 additions and 4 deletions
|
|
@ -75,7 +75,7 @@ pub fn main() !void {
|
|||
vs_module.release();
|
||||
fs_module.release();
|
||||
|
||||
try app.run(frame);
|
||||
try app.run(.{ .frame = frame });
|
||||
}
|
||||
|
||||
const FrameParams = struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue