diff --git a/GPU/GLES/TransformPipeline.cpp b/GPU/GLES/TransformPipeline.cpp index 7ed920f36..36a0d8fec 100644 --- a/GPU/GLES/TransformPipeline.cpp +++ b/GPU/GLES/TransformPipeline.cpp @@ -783,9 +783,9 @@ u32 TransformDrawEngine::ComputeHash() { u32 TransformDrawEngine::ComputeFastDCID() { u32 hash = 0; for (int i = 0; i < numDrawCalls; i++) { - hash ^= (u32)drawCalls[i].verts; + hash ^= *(u32*)&drawCalls[i].verts; hash = _rotl(hash, 13); - hash ^= (u32)drawCalls[i].inds; + hash ^= *(u32*)&drawCalls[i].inds; hash = _rotl(hash, 13); hash ^= (u32)drawCalls[i].vertType; hash = _rotl(hash, 13);