diff --git a/src/internal.h b/src/internal.h index fab544df8..eb80e24ff 100644 --- a/src/internal.h +++ b/src/internal.h @@ -347,7 +347,6 @@ struct _GLFWfbconfig int redBits; int greenBits; int blueBits; - int transparent; int alphaBits; int depthBits; int stencilBits; @@ -358,7 +357,8 @@ struct _GLFWfbconfig int auxBuffers; GLFWbool stereo; int samples; - GLFWbool sRGB; + GLFWbool sRGB; + GLFWbool transparent; GLFWbool doublebuffer; uintptr_t handle; }; @@ -403,7 +403,6 @@ struct _GLFWwindow // Window settings and state GLFWbool resizable; GLFWbool decorated; - GLFWbool transparent; GLFWbool autoIconify; GLFWbool floating; GLFWbool shouldClose; diff --git a/src/wgl_context.c b/src/wgl_context.c index 5064583d2..e1f817008 100644 --- a/src/wgl_context.c +++ b/src/wgl_context.c @@ -57,7 +57,7 @@ static int getPixelFormatAttrib(_GLFWwindow* window, int pixelFormat, int attrib static int choosePixelFormat(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig, - const int transparent) + const GLFWbool transparent) { _GLFWfbconfig* usableConfigs; const _GLFWfbconfig* closest; diff --git a/src/window.c b/src/window.c index 5af847d1c..3590ce830 100644 --- a/src/window.c +++ b/src/window.c @@ -733,8 +733,6 @@ GLFWAPI int glfwGetWindowAttrib(GLFWwindow* handle, int attrib) return window->resizable; case GLFW_DECORATED: return window->decorated; - case GLFW_TRANSPARENT: - return window->transparent; case GLFW_FLOATING: return window->floating; case GLFW_AUTO_ICONIFY: