aboutsummaryrefslogtreecommitdiff
path: root/visualisations/xbmc_vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'visualisations/xbmc_vis.h')
-rw-r--r--visualisations/xbmc_vis.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/visualisations/xbmc_vis.h b/visualisations/xbmc_vis.h
index db5c16de06..cee317860e 100644
--- a/visualisations/xbmc_vis.h
+++ b/visualisations/xbmc_vis.h
@@ -86,6 +86,10 @@ extern "C"
void UpdateSetting(int num, StructSetting*** sSet);
void GetPresets(char ***pPresets, int *currentPreset, int *numPresets, bool *locked);
int GetSubModules(char ***names, char ***paths);
+#ifdef HAS_DX
+ void FreeDXResources();
+ void AllocateDXResources();
+#endif
// function to export the above structure to XBMC
void __declspec(dllexport) get_module(struct Visualisation* pVisz)
@@ -102,6 +106,10 @@ extern "C"
pVisz->GetPresets = GetPresets;
pVisz->GetSubModules = GetSubModules;
pVisz->FreeSettings = FreeSettings;
+#ifdef HAS_DX
+ pVisz->FreeDXResources = FreeDXResources;
+ pVisz->AllocateDXResources = AllocateDXResources;
+#endif
};
};