winsys/d3d12: Use MakeWindowAssociation to remove DXGI's alt+enter handling
Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7535>
This commit is contained in:
committed by
Erik Faye-Lund
parent
81adf12701
commit
03cfc93ab5
@@ -99,6 +99,9 @@ d3d12_wgl_framebuffer_resize(stw_winsys_framebuffer *fb,
|
||||
}
|
||||
|
||||
swapchain1.As(&framebuffer->swapchain);
|
||||
|
||||
screen->factory->MakeWindowAssociation(framebuffer->window,
|
||||
DXGI_MWA_NO_WINDOW_CHANGES | DXGI_MWA_NO_ALT_ENTER | DXGI_MWA_NO_PRINT_SCREEN);
|
||||
}
|
||||
else {
|
||||
struct pipe_fence_handle *fence = NULL;
|
||||
|
||||
Reference in New Issue
Block a user