- Update to version 3.8.1 To many changes to list, for details see: https://www.ncbi.nlm.nih.gov/tools/gbench/releasenotes/ - Update to version 3.8.0 To many changes to list, for details see: https://www.ncbi.nlm.nih.gov/tools/gbench/releasenotes/ - Update to version 3.7.1 To many changes to list, for details see: https://www.ncbi.nlm.nih.gov/tools/gbench/releasenotes/ - Fix several build issues, add: * fix_MFLAGS.patch * fix_GDK_DISPLAY_call.patch * 0001-Trigger-changed-event-on-leave-events.patch * 0001-Fix-missing-conversion-from-wxString-to-std-string.patch - Remove obsolete patches: * gbench_install.sh.patch * Makefile.in.top.patch - Update to version 3.3.1 To many changes to list, for details see: https://www.ncbi.nlm.nih.gov/tools/gbench/releasenotes/ OBS-URL: https://build.opensuse.org/request/show/1003639 OBS-URL: https://build.opensuse.org/package/show/science/gbench?expand=0&rev=2
19 lines
888 B
Diff
19 lines
888 B
Diff
--- a/src/gui/widgets/feedback/dump_sysinfo.cpp_orig 2022-06-20 00:05:53.703694595 +0200
|
|
+++ b/src/gui/widgets/feedback/dump_sysinfo.cpp 2022-06-20 00:08:35.850045621 +0200
|
|
@@ -241,9 +241,12 @@
|
|
ostr << "GLU_VERSION: " << ptr << endl;
|
|
|
|
#if defined(__WXGTK20__) || defined(__WXGTK__)
|
|
- int glxMajorVer = 1, glxMinorVer = 0;
|
|
- glXQueryVersion(GDK_DISPLAY(), &glxMajorVer, &glxMinorVer);
|
|
- ostr << "GLX Version: " << glxMajorVer << "." << glxMinorVer << endl;
|
|
+ auto xdisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
|
+ if (xdisplay) {
|
|
+ int glxMajorVer = 1, glxMinorVer = 0;
|
|
+ glXQueryVersion(xdisplay, &glxMajorVer, &glxMinorVer);
|
|
+ ostr << "GLX Version: " << glxMajorVer << "." << glxMinorVer << endl;
|
|
+ }
|
|
#endif
|
|
ptr = glGetString(GL_EXTENSIONS);
|
|
if (ptr) {
|