Set wxHAS_GLX if GTK 3 with GDK_X11.
I've added non-configurable support to configure in a separate commit due to my limited autoconf skills - but this at least maintains the current situation for configure.
Closes #26145
https://github.com/wxWidgets/wxWidgets/pull/26146
(8 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@cjmayo pushed 2 commits.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@cjmayo pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@cjmayo pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
What to do about wxGTK 2 - is it reasonable to set wxHAS_GLX?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@vadz commented on this pull request.
Thanks for the fix, I have indeed completely forgotten that GLX might not be available either.
I'm not sure why does the PR only define wxHAS_GLX for wxGTK3, surely it should do it if OpenGL headers/libraries are found, for any port (and then stop doing it for wxX11 in the header)?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
What to do about wxGTK 2 - is it reasonable to set wxHAS_GLX?
Yes, and for wxX11 too, please. I.e. just don't test for the toolkit at all — if OpenGL headers/libraries are available, define this symbol.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()