[PATCH 3/5] d3dx9: Avoid LPD3DXSPRITE.

Henri Verbeet hverbeet at codeweavers.com
Thu Nov 29 15:44:44 CST 2012


---
 include/d3dx9core.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/d3dx9core.h b/include/d3dx9core.h
index 2fb26da..252d5db 100644
--- a/include/d3dx9core.h
+++ b/include/d3dx9core.h
@@ -146,8 +146,10 @@ DECLARE_INTERFACE_(ID3DXFont, IUnknown)
     STDMETHOD(PreloadTextA)(THIS_ LPCSTR string, INT count) PURE;
     STDMETHOD(PreloadTextW)(THIS_ LPCWSTR string, INT count) PURE;
 
-    STDMETHOD_(INT, DrawTextA)(THIS_ LPD3DXSPRITE sprite, LPCSTR string, INT count, LPRECT rect, DWORD format, D3DCOLOR color) PURE;
-    STDMETHOD_(INT, DrawTextW)(THIS_ LPD3DXSPRITE sprite, LPCWSTR string, INT count, LPRECT rect, DWORD format, D3DCOLOR color) PURE;
+    STDMETHOD_(INT, DrawTextA)(THIS_ struct ID3DXSprite *sprite, const char *string,
+            INT count, RECT *rect, DWORD format, D3DCOLOR color) PURE;
+    STDMETHOD_(INT, DrawTextW)(THIS_ struct ID3DXSprite *sprite, const WCHAR *string,
+            INT count, RECT *rect, DWORD format, D3DCOLOR color) PURE;
 
     STDMETHOD(OnLostDevice)(THIS) PURE;
     STDMETHOD(OnResetDevice)(THIS) PURE;
-- 
1.7.8.6




More information about the wine-patches mailing list