From 907da7f6140c72467193d0e7583e76b19493ad3c Mon Sep 17 00:00:00 2001 From: Mikael Rasmussen Date: Fri, 26 Oct 2018 19:19:28 +0200 Subject: [PATCH] pre define distorion values --- Bindings/Raylib.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bindings/Raylib.cs b/Bindings/Raylib.cs index ea2f2d7..e7a42fc 100644 --- a/Bindings/Raylib.cs +++ b/Bindings/Raylib.cs @@ -711,8 +711,8 @@ namespace Raylib public float eyeToScreenDistance; public float lensSeparationDistance; public float interpupillaryDistance; - public IntPtr lensDistortionValues; - public IntPtr chromaAbCorrection; + public float[] lensDistortionValues = new float[4]; + public float[] chromaAbCorrection = new float[4]; } #endregion