parent
ef0e610802
commit
bd31c2b484
11
glfw/glfw3.h
vendored
11
glfw/glfw3.h
vendored
@ -1056,10 +1056,15 @@ extern "C" {
|
||||
#define GLFW_OPENGL_FORWARD_COMPAT 0x00022006
|
||||
/*! @brief Debug mode context hint and attribute.
|
||||
*
|
||||
* Debug mode context [hint](@ref GLFW_OPENGL_DEBUG_CONTEXT_hint) and
|
||||
* [attribute](@ref GLFW_OPENGL_DEBUG_CONTEXT_attrib).
|
||||
* Debug mode context [hint](@ref GLFW_CONTEXT_DEBUG_hint) and
|
||||
* [attribute](@ref GLFW_CONTEXT_DEBUG_attrib).
|
||||
*/
|
||||
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00022007
|
||||
#define GLFW_CONTEXT_DEBUG 0x00022007
|
||||
/*! @brief Legacy name for compatibility.
|
||||
*
|
||||
* This is an alias for compatibility with earlier versions.
|
||||
*/
|
||||
#define GLFW_OPENGL_DEBUG_CONTEXT GLFW_CONTEXT_DEBUG
|
||||
/*! @brief OpenGL profile hint and attribute.
|
||||
*
|
||||
* OpenGL profile [hint](@ref GLFW_OPENGL_PROFILE_hint) and
|
||||
|
||||
4
glfw/window.c
vendored
4
glfw/window.c
vendored
@ -440,7 +440,7 @@ GLFWAPI void glfwWindowHint(int hint, int value)
|
||||
case GLFW_OPENGL_FORWARD_COMPAT:
|
||||
_glfw.hints.context.forward = value ? true : false;
|
||||
return;
|
||||
case GLFW_OPENGL_DEBUG_CONTEXT:
|
||||
case GLFW_CONTEXT_DEBUG:
|
||||
_glfw.hints.context.debug = value ? true : false;
|
||||
return;
|
||||
case GLFW_CONTEXT_NO_ERROR:
|
||||
@ -931,7 +931,7 @@ GLFWAPI int glfwGetWindowAttrib(GLFWwindow* handle, int attrib)
|
||||
return window->context.robustness;
|
||||
case GLFW_OPENGL_FORWARD_COMPAT:
|
||||
return window->context.forward;
|
||||
case GLFW_OPENGL_DEBUG_CONTEXT:
|
||||
case GLFW_CONTEXT_DEBUG:
|
||||
return window->context.debug;
|
||||
case GLFW_OPENGL_PROFILE:
|
||||
return window->context.profile;
|
||||
|
||||
@ -275,7 +275,7 @@ GLFW_CONTEXT_VERSION_MINOR: int
|
||||
GLFW_CONTEXT_REVISION: int
|
||||
GLFW_CONTEXT_ROBUSTNESS: int
|
||||
GLFW_OPENGL_FORWARD_COMPAT: int
|
||||
GLFW_OPENGL_DEBUG_CONTEXT: int
|
||||
GLFW_CONTEXT_DEBUG: int
|
||||
GLFW_OPENGL_PROFILE: int
|
||||
GLFW_OPENGL_API: int
|
||||
GLFW_OPENGL_ES_API: int
|
||||
|
||||
11
kitty/glfw-wrapper.h
generated
11
kitty/glfw-wrapper.h
generated
@ -794,10 +794,15 @@
|
||||
#define GLFW_OPENGL_FORWARD_COMPAT 0x00022006
|
||||
/*! @brief Debug mode context hint and attribute.
|
||||
*
|
||||
* Debug mode context [hint](@ref GLFW_OPENGL_DEBUG_CONTEXT_hint) and
|
||||
* [attribute](@ref GLFW_OPENGL_DEBUG_CONTEXT_attrib).
|
||||
* Debug mode context [hint](@ref GLFW_CONTEXT_DEBUG_hint) and
|
||||
* [attribute](@ref GLFW_CONTEXT_DEBUG_attrib).
|
||||
*/
|
||||
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00022007
|
||||
#define GLFW_CONTEXT_DEBUG 0x00022007
|
||||
/*! @brief Legacy name for compatibility.
|
||||
*
|
||||
* This is an alias for compatibility with earlier versions.
|
||||
*/
|
||||
#define GLFW_OPENGL_DEBUG_CONTEXT GLFW_CONTEXT_DEBUG
|
||||
/*! @brief OpenGL profile hint and attribute.
|
||||
*
|
||||
* OpenGL profile [hint](@ref GLFW_OPENGL_PROFILE_hint) and
|
||||
|
||||
@ -1532,7 +1532,7 @@ init_glfw(PyObject *m) {
|
||||
ADDC(GLFW_CONTEXT_REVISION);
|
||||
ADDC(GLFW_CONTEXT_ROBUSTNESS);
|
||||
ADDC(GLFW_OPENGL_FORWARD_COMPAT);
|
||||
ADDC(GLFW_OPENGL_DEBUG_CONTEXT);
|
||||
ADDC(GLFW_CONTEXT_DEBUG);
|
||||
ADDC(GLFW_OPENGL_PROFILE);
|
||||
|
||||
// ---
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user