diff options
-rw-r--r-- | src/gallium/frontends/wgl/stw_st.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/frontends/wgl/stw_st.c b/src/gallium/frontends/wgl/stw_st.c index 9f30f51bb1b..3ff97338eb3 100644 --- a/src/gallium/frontends/wgl/stw_st.c +++ b/src/gallium/frontends/wgl/stw_st.c @@ -134,11 +134,7 @@ stw_st_fill_private_loader_data(struct stw_st_framebuffer *stwfb, struct kopper_ out->win32.flags = 0; out->win32.hinstance = GetModuleHandle(NULL); out->win32.hwnd = stwfb->fb->hWnd; - BYTE alpha; - if (GetLayeredWindowAttributes(stwfb->fb->hWnd, NULL, &alpha, NULL)) - out->has_alpha = alpha != 255; - else - out->has_alpha = 0; + out->has_alpha = true; } #endif /** |