summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/windows/d3dhlsl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/windows/d3dhlsl.c b/src/osd/windows/d3dhlsl.c
index 0afca50623e..7cbb665b093 100644
--- a/src/osd/windows/d3dhlsl.c
+++ b/src/osd/windows/d3dhlsl.c
@@ -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);