From 521c439d3011714a6a2a1e3c55a7e807e885982c Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 29 Nov 2012 22:44:44 +0100 Subject: [PATCH] d3dx9: Avoid LPD3DXSPRITE. --- include/d3dx9core.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/d3dx9core.h b/include/d3dx9core.h index 2fb26daba6c..252d5db214c 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;