[Mesa-stable] [PATCH 04/53] st/nine: Add missing c++ declaration for IDirect3DVolumeTexture9
Axel Davy
axel.davy at ens.fr
Wed Jan 7 08:36:14 PST 2015
From: xavier <xavierb at gmail.com>
Reviewed-by: David Heidelberg <david at ixit.cz>
Reviewed-by: Axel Davy <axel.davy at ens.fr>
Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>
Cc: "10.4" <mesa-stable at lists.freedesktop.org>
---
include/D3D9/d3d9.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/include/D3D9/d3d9.h b/include/D3D9/d3d9.h
index f872be7..e8b5214 100644
--- a/include/D3D9/d3d9.h
+++ b/include/D3D9/d3d9.h
@@ -399,6 +399,16 @@ struct IDirect3DVolume9 : public IUnknown
virtual HRESULT WINAPI UnlockBox() = 0;
};
+struct IDirect3DVolumeTexture9 : public IDirect3DBaseTexture9
+{
+ virtual HRESULT WINAPI GetLevelDesc(UINT Level, D3DVOLUME_DESC *pDesc) = 0;
+ virtual HRESULT WINAPI GetVolumeLevel(UINT Level, IDirect3DVolume9 **ppVolumeLevel) = 0;
+ virtual HRESULT WINAPI LockBox(UINT Level, D3DLOCKED_BOX *pLockedVolume, const D3DBOX *pBox, DWORD Flags) = 0;
+ virtual HRESULT WINAPI UnlockBox(UINT Level) = 0;
+ virtual HRESULT WINAPI AddDirtyBox(const D3DBOX *pDirtyBox) = 0;
+};
+
+
#else /* __cplusplus */
extern const GUID IID_IDirect3D9;
--
2.1.3
More information about the mesa-stable
mailing list