| Previous | 199869 Revisions | Next |
| r20574 Monday 28th January, 2013 at 04:07:25 UTC by Robbbert |
|---|
| 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? |
| [src/osd/windows] | d3dhlsl.c |
| r20573 | r20574 | |
|---|---|---|
| 1059 | 1059 | |
| 1060 | 1060 | int hlsl_info::create_resources(bool reset) |
| 1061 | 1061 | { |
| 1062 | initialized = | |
| 1062 | initialized = false; | |
| 1063 | 1063 | |
| 1064 | 1064 | if (!master_enable || !d3dintf->post_fx_available) |
| 1065 | 1065 | return 0; |
| 1066 | 1066 | |
| 1067 | initialized = true; | |
| 1068 | ||
| 1067 | 1069 | d3d_info *d3d = (d3d_info *)window->drawdata; |
| 1068 | 1070 | |
| 1069 | 1071 | HRESULT result = (*d3dintf->device.get_render_target)(d3d->device, 0, &backbuffer); |
| Previous | 199869 Revisions | Next |