ebiten/internal/graphicsdriver/directx
Hajime Hoshi 47c65a92ae internal/graphicsdriver/directx: bug fix: ignore DXGI_STATUS_OCCLUDED
When a screen is locked, an Ebitengine application crashed as the
swap chain's Present returned DXGI_STATUS_OCCLUDED.

Let's ignore the error and continue to run the applications. In the
ideal world, an application should stop running during the screen lock,
so let's revisit this later.

This fix also fixes the issue that a Win32API GetCursorPos returned
an error ERROR_ACCESS_DENIED when the screen was locked.

Closes #2179
2022-07-04 12:55:36 +09:00
..
api_microsoftgdk_windows.go internal/graphicsdriver/directx: refactoring 2022-06-18 21:53:41 +09:00
api_notmicrosoftgdk_windows.go internal/graphicsdriver/directx: refactoring 2022-06-18 21:53:41 +09:00
api_windows.go internal/graphicsdriver/directx: bug fix: ignore DXGI_STATUS_OCCLUDED 2022-07-04 12:55:36 +09:00
graphics_windows.go internal/graphicsdriver/directx: bug fix: wrong pointer usage 2022-06-22 01:49:23 +09:00
pipeline_windows.go internal/graphicsdriver/directx: bug fix: leave mapped regions for constant buffers 2022-06-23 17:09:46 +09:00