ddraw: Avoid LPDIRECT3D7.
This commit is contained in:
parent
83ed5efb31
commit
0fa127b1fa
|
@ -30,7 +30,7 @@
|
||||||
#include "unknwn.h"
|
#include "unknwn.h"
|
||||||
|
|
||||||
static IDirectDraw7 *lpDD;
|
static IDirectDraw7 *lpDD;
|
||||||
static LPDIRECT3D7 lpD3D = NULL;
|
static IDirect3D7 *lpD3D;
|
||||||
static IDirectDrawSurface7 *lpDDS;
|
static IDirectDrawSurface7 *lpDDS;
|
||||||
static IDirectDrawSurface7 *lpDDSdepth;
|
static IDirectDrawSurface7 *lpDDSdepth;
|
||||||
static IDirect3DDevice7 *lpD3DDevice;
|
static IDirect3DDevice7 *lpD3DDevice;
|
||||||
|
|
|
@ -1299,7 +1299,7 @@ DECLARE_INTERFACE_(IDirect3DDevice7,IUnknown)
|
||||||
STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMPIXELFORMATSCALLBACK lpD3DEnumPixelProc, LPVOID lpArg) PURE;
|
STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMPIXELFORMATSCALLBACK lpD3DEnumPixelProc, LPVOID lpArg) PURE;
|
||||||
STDMETHOD(BeginScene)(THIS) PURE;
|
STDMETHOD(BeginScene)(THIS) PURE;
|
||||||
STDMETHOD(EndScene)(THIS) PURE;
|
STDMETHOD(EndScene)(THIS) PURE;
|
||||||
STDMETHOD(GetDirect3D)(THIS_ LPDIRECT3D7 *lplpDirect3D3) PURE;
|
STDMETHOD(GetDirect3D)(THIS_ IDirect3D7 **d3d) PURE;
|
||||||
STDMETHOD(SetRenderTarget)(THIS_ IDirectDrawSurface7 *surface, DWORD flags) PURE;
|
STDMETHOD(SetRenderTarget)(THIS_ IDirectDrawSurface7 *surface, DWORD flags) PURE;
|
||||||
STDMETHOD(GetRenderTarget)(THIS_ IDirectDrawSurface7 **surface) PURE;
|
STDMETHOD(GetRenderTarget)(THIS_ IDirectDrawSurface7 **surface) PURE;
|
||||||
STDMETHOD(Clear)(THIS_ DWORD dwCount,LPD3DRECT lpRects,DWORD dwFlags,D3DCOLOR dwColor,D3DVALUE dvZ,DWORD dwStencil) PURE;
|
STDMETHOD(Clear)(THIS_ DWORD dwCount,LPD3DRECT lpRects,DWORD dwFlags,D3DCOLOR dwColor,D3DVALUE dvZ,DWORD dwStencil) PURE;
|
||||||
|
|
Loading…
Reference in New Issue