revert the removal of MwLLBeginDraw/EndDraw, turns out the newer system still doesn't please weston and likely other compositors

This commit is contained in:
IoI_xD 2026-03-19 16:05:44 -07:00
commit 04eb28b617
8 changed files with 45 additions and 4 deletions

View file

@ -261,8 +261,15 @@ static void MwLLDestroyImpl(MwLL handle) {
free(handle);
}
static void
MwLLPolygonImpl(MwLL handle, MwPoint* points, int points_count, MwLLColor color) {
static void MwLLBeginDrawImpl(MwLL handle) {
(void)handle;
}
static void MwLLEndDrawImpl(MwLL handle) {
(void)handle;
}
static void MwLLPolygonImpl(MwLL handle, MwPoint* points, int points_count, MwLLColor color) {
int i;
XPoint* p = malloc(sizeof(*p) * points_count);