diff --git a/CMakeLists.txt b/CMakeLists.txt index 84d632f28..56c1f386d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -241,12 +241,7 @@ if (_GLFW_X11) # Set up library and include paths list(APPEND glfw_INCLUDE_DIRS "${X11_X11_INCLUDE_PATH}") - list(APPEND glfw_LIBRARIES "${X11_Xrender_LIB}" "${X11_X11_LIB}" "${CMAKE_THREAD_LIBS_INIT}") - - # Check for XRender (image composition and pict format querying) - if (NOT X11_Xrender_FOUND) - message(FATAL_ERROR "The XRender headers were not found") - endif() + list(APPEND glfw_LIBRARIES "${X11_X11_LIB}" "${CMAKE_THREAD_LIBS_INIT}") # Check for XRandR (modern resolution switching and gamma control) if (NOT X11_Xrandr_FOUND) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index b236d7d8f..a82da57e9 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -869,9 +869,9 @@ extern "C" { * Framebuffer double buffering [hint](@ref GLFW_DOUBLEBUFFER). */ #define GLFW_DOUBLEBUFFER 0x00021010 -/*! @brief Context ALPHA Mask hint and attribute. +/*! @brief Window transparency hint and attribute. * - * Context window alpha [hint](@ref GLFW_TRANSPARENT_hint) and + * Context window transparency [hint](@ref GLFW_TRANSPARENT_hint) and * [attribute](@ref GLFW_TRANSPARENT_attrib). */ #define GLFW_TRANSPARENT 0x00021011 diff --git a/src/glx_context.c b/src/glx_context.c index 6a82463f4..b2ca4ac01 100644 --- a/src/glx_context.c +++ b/src/glx_context.c @@ -107,24 +107,20 @@ selectionloop: visualinfo = glXGetVisualFromFBConfig(_glfw.x11.display, n); if (!visualinfo) { - printf("!visualinfo: bail\n"); continue; } pictFormat = XRenderFindVisualFormat(_glfw.x11.display, visualinfo->visual); if( !pictFormat ) { - printf("!pictFormat: bail\n"); XFree( visualinfo ); continue; } if( !pictFormat->direct.alphaMask ) { - printf("!pictFormat->direct alphaMask: bail\n"); XFree( visualinfo ); continue; } - printf("looking for transparent visual: didn't find\n"); XFree( visualinfo ); }