mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00:00
Disable Alt+Enter fullscreen
This commit is contained in:
@@ -497,6 +497,8 @@ r_window_equip(OS_Handle handle)
|
|||||||
os_exit_process(1);
|
os_exit_process(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
r_d3d11_state->dxgi_factory->MakeWindowAssociation(hwnd, DXGI_MWA_NO_ALT_ENTER);
|
||||||
|
|
||||||
//- rjf: create framebuffer & view
|
//- rjf: create framebuffer & view
|
||||||
window->swapchain->GetBuffer(0, __uuidof(ID3D11Texture2D), (void **)(&window->framebuffer));
|
window->swapchain->GetBuffer(0, __uuidof(ID3D11Texture2D), (void **)(&window->framebuffer));
|
||||||
r_d3d11_state->device->CreateRenderTargetView(window->framebuffer, 0, &window->framebuffer_rtv);
|
r_d3d11_state->device->CreateRenderTargetView(window->framebuffer, 0, &window->framebuffer_rtv);
|
||||||
|
|||||||
Reference in New Issue
Block a user