make code a little more reslilient
This commit is contained in:
parent
95928de413
commit
064f31197e
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ undefinedGPUObjectData = GPUObjectData identity
|
|||
|
||||
instance Storable GPUObjectData where
|
||||
|
||||
sizeOf (GPUObjectData modelMatrix) = sizeOf modelMatrix
|
||||
sizeOf (GPUObjectData _) = sizeOf (identity :: M44 Float)
|
||||
|
||||
alignment _ = 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue