mirror of
https://github.com/glfw/glfw.git
synced 2026-08-28 07:45:53 +02:00
Added client API window hint.
This commit is contained in:
@@ -413,12 +413,17 @@ extern "C" {
|
||||
#define GLFW_STEREO 0x0002100C
|
||||
#define GLFW_WINDOW_RESIZABLE 0x0002100D
|
||||
#define GLFW_FSAA_SAMPLES 0x0002100E
|
||||
#define GLFW_OPENGL_VERSION_MAJOR 0x0002100F
|
||||
#define GLFW_OPENGL_VERSION_MINOR 0x00021010
|
||||
#define GLFW_OPENGL_FORWARD_COMPAT 0x00021011
|
||||
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00021012
|
||||
#define GLFW_OPENGL_PROFILE 0x00021013
|
||||
#define GLFW_OPENGL_ROBUSTNESS 0x00021014
|
||||
#define GLFW_CLIENT_API 0x0002100F
|
||||
#define GLFW_OPENGL_VERSION_MAJOR 0x00021010
|
||||
#define GLFW_OPENGL_VERSION_MINOR 0x00021011
|
||||
#define GLFW_OPENGL_FORWARD_COMPAT 0x00021012
|
||||
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00021013
|
||||
#define GLFW_OPENGL_PROFILE 0x00021014
|
||||
#define GLFW_OPENGL_ROBUSTNESS 0x00021015
|
||||
|
||||
/* GLFW_OPENGL_API mode tokens */
|
||||
#define GLFW_OPENGL_API 0x00000001
|
||||
#define GLFW_OPENGL_ES_API 0x00000002
|
||||
|
||||
/* GLFW_OPENGL_ROBUSTNESS mode tokens */
|
||||
#define GLFW_OPENGL_NO_ROBUSTNESS 0x00000000
|
||||
@@ -429,7 +434,6 @@ extern "C" {
|
||||
#define GLFW_OPENGL_NO_PROFILE 0x00000000
|
||||
#define GLFW_OPENGL_CORE_PROFILE 0x00000001
|
||||
#define GLFW_OPENGL_COMPAT_PROFILE 0x00000002
|
||||
#define GLFW_OPENGL_ES2_PROFILE 0x00000004
|
||||
|
||||
/* glfwGetInputMode/glfwSetInputMode tokens */
|
||||
#define GLFW_CURSOR_MODE 0x00030001
|
||||
|
||||
Reference in New Issue
Block a user