SDL2 + X11 + OS X - is it broken? |
SDL2 + X11 + OS X - is it broken? |
Ryan C. Gordon
Guest
|
This is definitely working for me with Xquartz (but fails to create a GLX window on Xquartz, which is a regression since SDL 1.2). Can you send me the full config.log where it _should_ be working? That error means SDL didn't build with GLX support at all. --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
Dominus
|
I'll be able to do that next week. But I wonder whether there is a simple x11 testcase to test SDL2 + x11 on OS X.
SDL's videotest is defaulting to cocoa ;( |
|||||||||||
|
SDL2 + X11 + OS X - is it broken? |
Ryan C. Gordon
Guest
|
On 1/6/17 5:34 AM, Dominus wrote:
SDL_VIDEODRIVER=x11 ./testsprite2 (this fails to find a GLX visual at the moment on Xquartz. The equivalent in SDL 1.2 still works with Xquartz on macOS 10.12.2, though, and I haven't researched further than that yet. Presumably this is fixable, though.) --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
SDL2 + X11 + OS X - is it broken? |
Ryan C. Gordon
Guest
|
This is fixed as of https://hg.libsdl.org/SDL/rev/7c19d6525105 --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
Dominus
|
This seems to have fixed my problem with X11.
Tested with building against macports x11 stuff. Build SDL2 with those commands
With rev 10780 "Couldn't create window: No OpenGL support in video driver" With rev 10781 it succeeded and I got to see the dancing smilies! So bug resolved! many thanks Ryan for yet another quick save! |
|||||||||||||
|