Skip to content
Snippets Groups Projects
Commit 7411153e authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Free rects passed before X11 is initialized

parent 0aa622d7
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4590 passed
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
#undef CIOLIB_EXPORTS #undef CIOLIB_EXPORTS
#endif #endif
#define BITMAP_CIOLIB_DRIVER
#include "ciolib.h" #include "ciolib.h"
#include "x_cio.h" #include "x_cio.h"
#include "x_events.h" #include "x_events.h"
#define BITMAP_CIOLIB_DRIVER
#include "bitmap_con.h" #include "bitmap_con.h"
#include "x_cio.h" #include "x_cio.h"
...@@ -734,6 +734,9 @@ void x11_drawrect(struct rectlist *data) ...@@ -734,6 +734,9 @@ void x11_drawrect(struct rectlist *data)
ev.data.rect=data; ev.data.rect=data;
write_event(&ev); write_event(&ev);
} }
else {
bitmap_drv_free_rect(data);
}
} }
void x11_flush(void) void x11_flush(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment