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,7 +1,9 @@
/* $Id$ */
#include <Mw/Milsko.h>
#include <wayland-util.h>
#include "../external/stb_ds.h"
#include "Mw/LowLevel.h"
static void lldrawhandler(MwLL handle, void* data) {
MwWidget h = (MwWidget)handle->common.user;
@ -295,6 +297,7 @@ int MwStep(MwWidget handle) {
arrfree(widgets);
handle->prop_event = 0;
if(handle->lowlevel != NULL && MwLLPending(handle->lowlevel))
MwLLNextEvent(handle->lowlevel);