diff options
| author | Vasco <[email protected]> | 2026-08-24 18:19:47 +0100 |
|---|---|---|
| committer | Vasco <[email protected]> | 2026-08-24 18:21:55 +0100 |
| commit | 5cdccf5559729b1abfbb097fca0eb0f22965704c (patch) | |
| tree | 71177780e970b0fbc9b0e94615d40de15c46cbda /Peak/peak.h | |
| parent | cc3429220b19df8c5ca6abf28a02cd38d08de32d (diff) | |
Peak 0.5.3main
Diffstat (limited to 'Peak/peak.h')
| -rw-r--r-- | Peak/peak.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Peak/peak.h b/Peak/peak.h index f5cc83b..4ac857b 100644 --- a/Peak/peak.h +++ b/Peak/peak.h @@ -11,7 +11,7 @@ #define PEAK_MAJOR "0" #define PEAK_MINOR "5" -#define PEAK_PATCH "2" +#define PEAK_PATCH "3" /* CHANGE LOG * 0.0.0 - @vasco - prototyping @@ -24,6 +24,7 @@ * 0.5.0 - @vasco - audio start/stop, s16le pull callback * 0.5.1 - @vasco - log, file, time, vulkan extensions * 0.5.2 - @vasco - vulkan surface from window + * 0.5.3 - @vasco - skip XCloseDisplay after vulkan teardown */ #define NANOS_PER_SEC 1000000000ull @@ -1145,9 +1146,11 @@ peak_platform_init(void) static void peak_platform_quit(void) { + /* NOTE: NVIDIA's Vulkan ICD registers an XCloseDisplay hook, then + * vkDestroyInstance unloads the ICD. Closing afterwards is a SIGSEGV + * into unmapped memory. The connection is dropped on process exit. */ if (!peak_linux.display) return; - peak_x11.XCloseDisplay(peak_linux.display); peak_linux.display = 0; } |
