mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 00:02:17 +00:00
d3drm: Simplify declaration of VTable members (spotted by Dmitry Timoshkov).
This commit is contained in:
parent
d21c131fb5
commit
3ad04c18c0
|
@ -34,7 +34,7 @@
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(d3drm);
|
WINE_DEFAULT_DEBUG_CHANNEL(d3drm);
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
IDirect3DRM lpVtbl;
|
const IDirect3DRMVtbl *lpVtbl;
|
||||||
LONG ref;
|
LONG ref;
|
||||||
} IDirect3DRMImpl;
|
} IDirect3DRMImpl;
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ HRESULT Direct3DRM_create(LPDIRECT3DRM* ppDirect3DRM)
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
object->lpVtbl.lpVtbl = &Direct3DRM_Vtbl;
|
object->lpVtbl = &Direct3DRM_Vtbl;
|
||||||
object->ref = 1;
|
object->ref = 1;
|
||||||
|
|
||||||
*ppDirect3DRM = (IDirect3DRM*)object;
|
*ppDirect3DRM = (IDirect3DRM*)object;
|
||||||
|
|
Loading…
Reference in a new issue