Add in a super ultra hack because demo programs are using xcb

This commit is contained in:
baldurk
2015-08-24 00:05:32 +02:00
parent 245dccd7ba
commit af416b9022
@@ -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;