From 0f98e188d23e9f32237a9b09778942cfeb74b208 Mon Sep 17 00:00:00 2001 From: Bailey Cosier Date: Sun, 17 Sep 2017 15:06:01 +0700 Subject: [PATCH] Update documentation for framebuffer hint: GLFW_TRANSPARENT --- docs/window.dox | 4 ++++ include/GLFW/glfw3.h | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/window.dox b/docs/window.dox index d9a837f63..30b426206 100644 --- a/docs/window.dox +++ b/docs/window.dox @@ -228,6 +228,10 @@ newly created full screen windows. Possible values are `GLFW_TRUE` and @subsubsection window_hints_fb Framebuffer related hints +@anchor GLFW_TRANSPARENT_hint +__GLFW_TRANSPARENT__ specifies whether the framebuffer will support transparency +in the background. Possible values are `GLFW_TRUE` and `GLFW_FALSE`. + @anchor GLFW_RED_BITS @anchor GLFW_GREEN_BITS @anchor GLFW_BLUE_BITS diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index a82da57e9..e1f1e8a43 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -869,10 +869,9 @@ extern "C" { * Framebuffer double buffering [hint](@ref GLFW_DOUBLEBUFFER). */ #define GLFW_DOUBLEBUFFER 0x00021010 -/*! @brief Window transparency hint and attribute. +/*! @brief Framebuffer transparency hint. * - * Context window transparency [hint](@ref GLFW_TRANSPARENT_hint) and - * [attribute](@ref GLFW_TRANSPARENT_attrib). + * Framebuffer transparency [hint](@ref GLFW_TRANSPARENT_hint). */ #define GLFW_TRANSPARENT 0x00021011 /*! @brief Context client API hint and attribute.