wayland: give up on cairo and switch to OpenGL

This commit is contained in:
IoIxD 2025-12-03 18:17:27 -07:00
commit 0adc98a2a2
6 changed files with 310 additions and 119 deletions

View file

@ -1,4 +1,5 @@
/* $Id$ */
#include "Mw/LowLevel.h"
#include <Mw/Milsko.h>
#include <stdio.h>
@ -485,6 +486,7 @@ void MwDrawTriangle(MwWidget handle, MwRect* rect, MwLLColor color, int invert,
p4[2].y = rect->y + s * border;
}
MwLLPolygon(handle->lowlevel, p4, 3, col);
if(color != col) MwLLFreeColor(col);
MwLLFreeColor(lighter);