diff options
author | wiso <wiso@svn> | 2009-10-18 14:20:11 +0000 |
---|---|---|
committer | wiso <wiso@svn> | 2009-10-18 14:20:11 +0000 |
commit | 582196280b4d5571d8e0d344146d8de05369ad21 (patch) | |
tree | ce1df99e6c3fdbd837c2e555b7dfadc971f474ab /visualisations | |
parent | 83c9a5c15bc8b4e211cdb6aeed8ce449d02826d6 (diff) |
[WIN32DX] added FreeDXResources and AllocateDXResources to the visualisation interface
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23829 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'visualisations')
-rw-r--r-- | visualisations/xbmc_vis.h | 8 |
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 }; }; |