mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
change one more place with potential aliasing issue
This commit is contained in:
parent
5f97e5af6c
commit
aae58edd62
|
@ -688,9 +688,9 @@ void CLegacy3D::DescendCullingNode(UINT32 addr)
|
|||
const UINT32 node1Ptr = node[0x07-offset];
|
||||
const UINT32 node2Ptr = node[0x08-offset];
|
||||
const UINT32 matrixOffset = node[0x03-offset]&0xFFF;
|
||||
const float x = *(float *) &node[0x04-offset];
|
||||
const float y = *(float *) &node[0x05-offset];
|
||||
const float z = *(float *) &node[0x06-offset];
|
||||
const float x = Util::Uint32AsFloat(node[0x04-offset]);
|
||||
const float y = Util::Uint32AsFloat(node[0x05-offset]);
|
||||
const float z = Util::Uint32AsFloat(node[0x06-offset]);
|
||||
|
||||
// Texture offset?
|
||||
TextureOffset oldTextureOffset = m_textureOffset; // save old offsets
|
||||
|
|
Loading…
Reference in a new issue