diff --git a/src/OpenTK/Platform/MacOS/Cocoa/NSFloat.cs b/src/OpenTK/Platform/MacOS/Cocoa/NSFloat.cs index 21a84c0c..8ee2a7e1 100644 --- a/src/OpenTK/Platform/MacOS/Cocoa/NSFloat.cs +++ b/src/OpenTK/Platform/MacOS/Cocoa/NSFloat.cs @@ -91,7 +91,7 @@ namespace OpenTK.Platform.MacOS { if (IntPtr.Size == 4) { - return *(float*)f._value; + return *(float*)&f._value; } else {