diff --git a/src/OpenTK/Platform/MacOS/Cocoa/NSFloat.cs b/src/OpenTK/Platform/MacOS/Cocoa/NSFloat.cs index 899ecc32..39b55d36 100644 --- a/src/OpenTK/Platform/MacOS/Cocoa/NSFloat.cs +++ b/src/OpenTK/Platform/MacOS/Cocoa/NSFloat.cs @@ -118,7 +118,7 @@ namespace OpenTK.Platform.MacOS } else { - return *(float*)&f.value; + return *(double*)&f.value; } } }