mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Add in a super ultra hack because demo programs are using xcb
This commit is contained in:
@@ -189,6 +189,11 @@ class VulkanHook : LibraryHook
|
||||
if(libName)
|
||||
LinuxHookLibrary("libvulkan.so", &libHooked);
|
||||
|
||||
// SUUUUPer hack. I guess Keyboard needs to support
|
||||
// xcb connections as well, and init it whenever
|
||||
// a WSI swapchain gets created on it
|
||||
Keyboard::CloneDisplay(XOpenDisplay(NULL));
|
||||
|
||||
bool success = SetupHooks(VK);
|
||||
|
||||
if(!success) return false;
|
||||
|
||||
Reference in New Issue
Block a user