app: add resize callback function

This commit is contained in:
Silver 2022-04-07 02:33:56 +01:00 committed by Stephen Gutekanst
parent c62b5ba52f
commit adf5332969
2 changed files with 15 additions and 4 deletions

View file

@ -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 {