Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix OpenFL part 3
(in /usr/lib/haxe/lib/openfl-native/1,3,0/openfl/utils/ArrayBufferView.hx)
84 inline public function getFloat32 (position:Int):Float {
85
86 #if cpp
87 untyped return __global__.__hxcpp_memory_get_float (bytes, position + byteOffset);
88 #else
89 buffer.position = position + byteOffset;
90 //return buffer.readFloat ();
91 return buffer.readFloat (buffer.position); // added argument
92 #end
93
94 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.