mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Fix a case of pointer truncation in Vulkan on 32-bit. Fixes #12932
This commit is contained in:
1 parent
69c092dce1
commit
e64fdfa0c3
5 files changed
+26
-26
No files matched your search
@@ -467,10 +467,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
uintptr_t GetNativeObject(NativeObject obj) override {
|
||||
uint64_t GetNativeObject(NativeObject obj) override {
|
||||
switch (obj) {
|
||||
case NativeObject::RENDER_MANAGER:
|
||||
return (uintptr_t)&renderManager_;
|
||||
return (uint64_t)(uintptr_t)&renderManager_;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user