From f921caf4a61eb8bcd2409bfb1393b2a902c9b513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Sun, 28 Jun 2020 19:21:36 +0200 Subject: [PATCH] Re-word docs for GLFW_OPENGL_DEBUG_CONTEXT attrib Related to #1720. (cherry picked from commit 4e3b43383a1e738dfcf47205671246f2008a8d94) --- docs/window.dox | 4 ++-- include/GLFW/glfw3.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/window.dox b/docs/window.dox index 0908b35a..8eb0df06 100644 --- a/docs/window.dox +++ b/docs/window.dox @@ -1332,8 +1332,8 @@ __GLFW_OPENGL_FORWARD_COMPAT__ is `GLFW_TRUE` if the window's context is an OpenGL forward-compatible one, or `GLFW_FALSE` otherwise. @anchor GLFW_OPENGL_DEBUG_CONTEXT_attrib -__GLFW_OPENGL_DEBUG_CONTEXT__ is `GLFW_TRUE` if the window's context is an -OpenGL debug context, or `GLFW_FALSE` otherwise. +__GLFW_OPENGL_DEBUG_CONTEXT__ is `GLFW_TRUE` if the window's context is in debug +mode, or `GLFW_FALSE` otherwise. @anchor GLFW_OPENGL_PROFILE_attrib __GLFW_OPENGL_PROFILE__ indicates the OpenGL profile used by the context. This diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 5119832c..621333fd 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -974,9 +974,9 @@ extern "C" { * and [attribute](@ref GLFW_OPENGL_FORWARD_COMPAT_attrib). */ #define GLFW_OPENGL_FORWARD_COMPAT 0x00022006 -/*! @brief OpenGL debug context hint and attribute. +/*! @brief Debug mode context hint and attribute. * - * OpenGL debug context [hint](@ref GLFW_OPENGL_DEBUG_CONTEXT_hint) and + * Debug mode context [hint](@ref GLFW_OPENGL_DEBUG_CONTEXT_hint) and * [attribute](@ref GLFW_OPENGL_DEBUG_CONTEXT_attrib). */ #define GLFW_OPENGL_DEBUG_CONTEXT 0x00022007