mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-26 01:40:24 +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…
Reference in New Issue
Block a user