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:
Robbbert 2013-01-28 04:07:25 +00:00
parent 9f6dea1c94
commit 7e9eae0e71

View File

@ -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);