From c966629e1b0ee035a5da378861b8b53fc4450291 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 11 Jan 2014 15:47:11 +0100 Subject: [PATCH] (D3D9) Fixup HAVE_PYTHON ifdef --- gfx/d3d9/d3d9_pc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/d3d9/d3d9_pc.cpp b/gfx/d3d9/d3d9_pc.cpp index 6490144d63..89f077125f 100644 --- a/gfx/d3d9/d3d9_pc.cpp +++ b/gfx/d3d9/d3d9_pc.cpp @@ -180,7 +180,7 @@ bool d3d_init_imports(void *data) tracker_info.info_elem = d3d->shader.variables; #ifdef HAVE_PYTHON - if (*shader.script_path) + if (*d3d->shader.script_path) { tracker_info.script = d3d->shader.script_path; tracker_info.script_is_file = true;