mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Merge commit '4acd1dcad41d154093ca14eb0adf35f4f99bd06a' into main
This commit is contained in:
commit
4b0b39a34a
@ -1088,7 +1088,7 @@ KMSDRM_DestroyWindow(_THIS, SDL_Window *window)
|
||||
KMSDRM_DestroySurfaces(_this, window);
|
||||
|
||||
/* Unload library and deinit GBM, but only if this is the last remaining window.*/
|
||||
if (viddata->num_windows < 2) {
|
||||
if ((viddata->num_windows - 1) == 0) {
|
||||
|
||||
/* Unload EGL/GL library and free egl_data. */
|
||||
if (_this->egl_data) {
|
||||
|
Loading…
Reference in New Issue
Block a user