libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
9.76k stars 1.77k forks source link

[Windows] GPU screenshot option broken using D3D #6427

Open trostboot opened 6 years ago

trostboot commented 6 years ago

Description

Taking screenshots is broken when using D3D video drivers while having the GPU screenshot option enabled.

Taking a GPU screenshot using D3D9 results in RetroArch crashing. D3D11 doesn't crash, but only produces a black image. Cannot test D3D12 as that crashes on startup.

Works as expected using Vulkan.

Version/Commit

Environment information

gouchi commented 1 month ago

It will be nice to have this feature so that AI translation can work with hardware accelerated core.