Hello all,
first i would like to thank Laurent for this amazing library.
Now to problem... I believe ever since this commit:
https://github.com/SFML/SFML.Net/commit/62b70062549feee97123ee13735b634f5f88400fRenderWindow class is not working on Linux. It writes this in console and exit program when i start shader.cs(example program).
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 8 (X_MapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 51
On windows it's working just fine. I also tried to create C program and call sfWindow_createFromHandle(0, &cS); and throws same error.
Now i'm not sure what sfWindow_createFromHandle(IntPtr.Zero, contextSettings) is ment to do. Ignore parameter and create new window or...
Is this bug in CSFML/SFML for not working same on Linux/Windows?
I would fork and fix this but i'm really not sure what proper solution is..
Best regards,
David