add rgfw
This commit is contained in:
parent
c7454e4695
commit
233d23e3a1
@ -37,6 +37,11 @@
|
|||||||
# include "../external/vma/vk_mem_alloc.h"
|
# include "../external/vma/vk_mem_alloc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BUILD_WASM
|
||||||
|
# define RGFW_IMPLEMENTATION
|
||||||
|
# include "../external/rgfw/rgfw.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef BUILD_GL
|
#ifdef BUILD_GL
|
||||||
# include <GL/gl.h>
|
# include <GL/gl.h>
|
||||||
# include <GL/glext.h>
|
# include <GL/glext.h>
|
||||||
|
|||||||
@ -383,12 +383,12 @@ PushFree(PlatformWindow* w, SysMessage* node)
|
|||||||
|
|
||||||
version(linux)
|
version(linux)
|
||||||
{
|
{
|
||||||
import core.sys.posix.dlfcn;
|
// import core.sys.posix.dlfcn;
|
||||||
import core.sys.posix.sys.mman;
|
import core.sys.posix.sys.mman;
|
||||||
import core.sys.linux.sys.inotify;
|
import core.sys.linux.sys.inotify;
|
||||||
import core.sys.linux.fcntl;
|
// import core.sys.linux.fcntl;
|
||||||
import core.sys.posix.sys.time : timespec, timeval, gettimeofday;
|
import core.sys.posix.sys.time : timespec, timeval, gettimeofday;
|
||||||
import core.sys.posix.unistd;
|
import core.sys.posix.unistd : readlink;
|
||||||
import core.sys.posix.pthread : PThread = pthread_t,
|
import core.sys.posix.pthread : PThread = pthread_t,
|
||||||
PThreadCond = pthread_cond_t,
|
PThreadCond = pthread_cond_t,
|
||||||
PThreadMutex = pthread_mutex_t,
|
PThreadMutex = pthread_mutex_t,
|
||||||
|
|||||||
16085
external/rgfw/rgfw.h
vendored
Normal file
16085
external/rgfw/rgfw.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user