finished seperating opengl contexts, apply nishi patch

This commit is contained in:
IoIxD 2025-12-07 19:04:59 -07:00
commit 6f1716151d
12 changed files with 92 additions and 41 deletions

View file

@ -58,8 +58,8 @@ typedef unsigned long MwU64;
#ifdef OTHER_TYPES_DEFINED
#undef OTHER_TYPES_DEFINED
#else
typedef int MwI32;
typedef unsigned int MwU32;
typedef int MwI32;
typedef unsigned int MwU32;
typedef short MwI16;
typedef unsigned short MwU16;

View file

@ -6,7 +6,6 @@
#ifndef __MW_LOWLEVEL_WAYLAND_H__
#define __MW_LOWLEVEL_WAYLAND_H__
#include "Mw/BaseTypes.h"
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#include <Mw/LowLevel.h>
@ -29,6 +28,8 @@ MWDECL int MwLLWaylandCallInit(void);
#include "Wayland/cursor-shape-client-protocol.h"
#endif
struct _MwLLWayland;
typedef struct wayland_protocol {
void* listener;
void* context;

View file

@ -13,6 +13,7 @@
#include <sys/types.h>
#include <assert.h>
#include <math.h>
#include <errno.h>
#include <ctype.h>
#include <time.h>
#include <sys/stat.h>
@ -43,6 +44,7 @@
#include <dlfcn.h>
#include <signal.h>
#include <dirent.h>
#include <fcntl.h>
#endif
#ifndef M_PI