internal/glfw/glfw: move egl_context.* files

This commit is contained in:
Hajime Hoshi 2023-07-15 12:30:12 +09:00
parent 4d9ae2a815
commit 647d2aca14
4 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,5 @@ package glfw
#include "glfw/src/cocoa_window.m" #include "glfw/src/cocoa_window.m"
#include "glfw/src/cocoa_time.c" #include "glfw/src/cocoa_time.c"
#include "glfw/src/nsgl_context.m" #include "glfw/src/nsgl_context.m"
#include "glfw/src/egl_context.c"
*/ */
import "C" import "C"

View File

@ -25,6 +25,5 @@ package glfw
#include "glfw/src/glx_context.c" #include "glfw/src/glx_context.c"
#endif #endif
#include "glfw/src/xkb_unicode.c" #include "glfw/src/xkb_unicode.c"
#include "glfw/src/egl_context.c"
*/ */
import "C" import "C"

View File

@ -27,6 +27,8 @@
// Please use C89 style variable declarations in this file because VS 2010 // Please use C89 style variable declarations in this file because VS 2010
//======================================================================== //========================================================================
//go:build darwin || freebsd || linux || netbsd || openbsd
#include "internal.h" #include "internal.h"
#include <stdio.h> #include <stdio.h>

View File

@ -25,6 +25,8 @@
// //
//======================================================================== //========================================================================
//go:build darwin || freebsd || linux || netbsd || openbsd
#if defined(_GLFW_USE_EGLPLATFORM_H) #if defined(_GLFW_USE_EGLPLATFORM_H)
#include <EGL/eglplatform.h> #include <EGL/eglplatform.h>
#elif defined(_GLFW_COCOA) #elif defined(_GLFW_COCOA)