Skip to content
Snippets Groups Projects
Commit df09d2a0 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter:
Browse files

wgl: always set alpha on kopper windows


Acked-by: Jesse Natalie's avatarJesse Natalie <jenatali@microsoft.com>
Part-of: <mesa/mesa!16153>
parent 6447169d
No related branches found
No related tags found
Loading
......@@ -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
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment