How to setup LinuxNativeWindow with SDL #290
Replies: 3 comments 3 replies
-
You are passing X11 window handle as XCB connection, which does not seem right to me. |
Beta Was this translation helpful? Give feedback.
-
It seems you can get XCB connection from a display using First to define the external function:
Then once you have the X11 display from SDL, you can call
|
Beta Was this translation helpful? Give feedback.
-
Any further progress on this? I used @stanoddly 's suggestion but end up with an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I'm wondering if anyone has experience with grabbing the native X11 window handle from SDL2 and passing that to Diligent's LinuxNativeWindow. I must be doing it wrong because I get a segfault when creating the swap chain using the LinuxNativeWindow I create
This is where I grab the window information from SDL
And this is where I'm creating the LinuxNativeWindow using that information
Beta Was this translation helpful? Give feedback.
All reactions