make code a little more reslilient

This commit is contained in:
nek0 2023-04-23 02:12:04 +02:00
parent 95928de413
commit 064f31197e

View file

@ -212,7 +212,7 @@ undefinedGPUObjectData = GPUObjectData identity
instance Storable GPUObjectData where
sizeOf (GPUObjectData modelMatrix) = sizeOf modelMatrix
sizeOf (GPUObjectData _) = sizeOf (identity :: M44 Float)
alignment _ = 0