mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
Temp patch to fix d3d crash at start.
This commit is contained in:
parent
0b07aff680
commit
4efc1f7b05
@ -1053,6 +1053,9 @@ int hlsl_info::create_resources(bool reset)
|
||||
{
|
||||
initialized = true;
|
||||
|
||||
if (!master_enable || !d3dintf->post_fx_available)
|
||||
return 0;
|
||||
|
||||
d3d_info *d3d = (d3d_info *)window->drawdata;
|
||||
|
||||
HRESULT result = (*d3dintf->device.create_texture)(d3d->device, (int)snap_width, (int)snap_height, 1, D3DUSAGE_DYNAMIC, D3DFMT_A8R8G8B8, D3DPOOL_SYSTEMMEM, &avi_copy_texture);
|
||||
|
Loading…
Reference in New Issue
Block a user