How to setup LinuxNativeWindow with SDL #290
Unanswered
DarthCloud64
asked this question in
Q&A
Replies: 3 comments 3 replies
|
You are passing X11 window handle as XCB connection, which does not seem right to me. |
3 replies
|
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 |
0 replies
|
Any further progress on this? I used @stanoddly 's suggestion but end up with an |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
All reactions