mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 09:01:46 +00:00
Formatting.
This commit is contained in:
parent
7e9286c1fa
commit
10cc85343a
@ -526,7 +526,7 @@ extern "C" {
|
|||||||
/*! @brief The @link clients client API @endlink to create a context for.
|
/*! @brief The @link clients client API @endlink to create a context for.
|
||||||
*/
|
*/
|
||||||
#define GLFW_CLIENT_API 0x00022000
|
#define GLFW_CLIENT_API 0x00022000
|
||||||
#define GLFW_OPENGL_VERSION_MAJOR 0x00022001
|
#define GLFW_CLIENT_VERSION_MAJOR 0x00022001
|
||||||
#define GLFW_OPENGL_VERSION_MINOR 0x00022002
|
#define GLFW_OPENGL_VERSION_MINOR 0x00022002
|
||||||
#define GLFW_OPENGL_FORWARD_COMPAT 0x00022003
|
#define GLFW_OPENGL_FORWARD_COMPAT 0x00022003
|
||||||
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00022004
|
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00022004
|
||||||
|
@ -41,9 +41,10 @@
|
|||||||
typedef void* id;
|
typedef void* id;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS NS
|
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS NS
|
||||||
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextNSGL NSGL
|
|
||||||
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS NS
|
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS NS
|
||||||
|
|
||||||
|
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextNSGL NSGL
|
||||||
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryNSGL NSGL
|
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryNSGL NSGL
|
||||||
|
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
#error "No OpenGL entry point retrieval mechanism was enabled"
|
#error "No OpenGL entry point retrieval mechanism was enabled"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextEGL EGL
|
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextEGL EGL
|
||||||
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryEGL EGL
|
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryEGL EGL
|
||||||
|
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
#error "No OpenGL entry point retrieval mechanism was enabled"
|
#error "No OpenGL entry point retrieval mechanism was enabled"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextGLX GLX
|
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextGLX GLX
|
||||||
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryGLX GLX
|
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryGLX GLX
|
||||||
|
|
||||||
#ifndef GLX_MESA_swap_control
|
#ifndef GLX_MESA_swap_control
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include "../support/GL/wglext.h"
|
#include "../support/GL/wglext.h"
|
||||||
|
|
||||||
|
|
||||||
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextWGL WGL
|
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextWGL WGL
|
||||||
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryWGL WGL
|
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryWGL WGL
|
||||||
|
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ typedef DWORD (WINAPI * TIMEGETTIME_T) (void);
|
|||||||
#include "egl_platform.h"
|
#include "egl_platform.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowWin32 Win32
|
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowWin32 Win32
|
||||||
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryWin32 Win32
|
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryWin32 Win32
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
#include "egl_platform.h"
|
#include "egl_platform.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 X11
|
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 X11
|
||||||
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryX11 X11
|
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryX11 X11
|
||||||
|
|
||||||
// Clipboard format atom indices
|
// Clipboard format atom indices
|
||||||
|
Loading…
Reference in New Issue
Block a user