mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-08 23:07:31 +00:00
Change cast which break build on linux
This commit is contained in:
parent
3825df5c6a
commit
77af8f4727
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user