internal/glfw/glfw: move osmesa_context.h

This commit is contained in:
Hajime Hoshi 2023-07-21 00:09:17 +09:00
parent f6e5d2eca6
commit 214f6094f8
3 changed files with 4 additions and 2 deletions

View File

@ -76,7 +76,7 @@ typedef void* id;
#include "posix_thread.h"
#include "nsgl_context_darwin.h"
#include "egl_context.h"
#include "./glfw/src/osmesa_context.h"
#include "osmesa_context.h"
#define _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL)
#define _glfw_dlclose(handle) dlclose(handle)

View File

@ -25,6 +25,8 @@
//
//========================================================================
//go:build darwin || freebsd || linux || netbsd || openbsd
#define OSMESA_RGBA 0x1908
#define OSMESA_FORMAT 0x22
#define OSMESA_DEPTH_BITS 0x30

View File

@ -130,7 +130,7 @@ typedef XRenderPictFormat* (* PFN_XRenderFindVisualFormat)(Display*,Visual const
#include "xkb_unicode_linbsd.h"
#include "glx_context_linbsd.h"
#include "egl_context.h"
#include "./glfw/src/osmesa_context.h"
#include "osmesa_context.h"
#define _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL)
#define _glfw_dlclose(handle) dlclose(handle)