29 lines
579 B
C
29 lines
579 B
C
//#pragma attribute(push, nogc, nothrow)
|
|
|
|
#ifdef __linux__
|
|
# define XLIB_ILLEGAL_ACCESS
|
|
# include <X11/Xlib.h>
|
|
# include <X11/XKBlib.h>
|
|
# include <X11/Xlib-xcb.h>
|
|
# include <X11/keysym.h>
|
|
# include <X11/extensions/Xfixes.h>
|
|
# include <X11/Xatom.h>
|
|
# include <X11/Xutil.h>
|
|
|
|
# include <ft2build.h>
|
|
# include <GL/glx.h>
|
|
# include <GL/glxext.h>
|
|
# include FT_FREETYPE_H
|
|
# include FT_GLYPH_H
|
|
#endif
|
|
|
|
#include "external/stb/stb_image.h"
|
|
|
|
#include "external/stb/stb_image_write.h"
|
|
|
|
#define CGLM_FORCE_DEPTH_ZERO_TO_ONE
|
|
#include "external/cglm/cglm.h"
|
|
|
|
#include "external/cgltf/cgltf.h"
|
|
|