mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
Made a change to my original hlsl fix, this stops the crash with ctrl+alt+F12. However since hlsl doesn't work on my pc, can others do some testing?
This commit is contained in:
parent
9f6dea1c94
commit
7e9eae0e71
@ -1059,11 +1059,13 @@ void hlsl_info::init_fsfx_quad(void *vertbuf)
|
||||
|
||||
int hlsl_info::create_resources(bool reset)
|
||||
{
|
||||
initialized = true;
|
||||
initialized = false;
|
||||
|
||||
if (!master_enable || !d3dintf->post_fx_available)
|
||||
return 0;
|
||||
|
||||
initialized = true;
|
||||
|
||||
d3d_info *d3d = (d3d_info *)window->drawdata;
|
||||
|
||||
HRESULT result = (*d3dintf->device.get_render_target)(d3d->device, 0, &backbuffer);
|
||||
|
Loading…
Reference in New Issue
Block a user