examples: make sure some structs has guaranteed in-memory layout

This commit is contained in:
Ali Chraghi 2022-10-08 18:49:21 +03:30 committed by Stephen Gutekanst
parent 4e47477e9a
commit 288299b88b
13 changed files with 14 additions and 14 deletions

View file

@ -46,7 +46,7 @@ pub const Region = struct {
}
};
pub const UVData = struct {
pub const UVData = extern struct {
bottom_left: @Vector(2, f32),
width_and_height: @Vector(2, f32),
};