gingerBill 1 year ago
parent
commit
d1174f66bc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vendor/raylib/raylib.odin

+ 2 - 2
vendor/raylib/raylib.odin

@@ -404,7 +404,7 @@ BoneInfo :: struct {
 }
 }
 
 
 // Model type
 // Model type
-Model :: struct {
+Model :: struct #align(align_of(uintptr)) {
 	transform: Matrix,            // Local transform matrix
 	transform: Matrix,            // Local transform matrix
 
 
 	meshCount: c.int,             // Number of meshes
 	meshCount: c.int,             // Number of meshes
@@ -499,7 +499,7 @@ VrDeviceInfo :: struct {
 }
 }
 
 
 // VR Stereo rendering configuration for simulator
 // VR Stereo rendering configuration for simulator
-VrStereoConfig :: struct {
+VrStereoConfig :: struct #align(4) {
 	projection:        [2]Matrix,     // VR projection matrices (per eye)
 	projection:        [2]Matrix,     // VR projection matrices (per eye)
 	viewOffset:        [2]Matrix,     // VR view offset matrices (per eye)
 	viewOffset:        [2]Matrix,     // VR view offset matrices (per eye)
 	leftLensCenter:    [2]f32,        // VR left lens center
 	leftLensCenter:    [2]f32,        // VR left lens center