Commit 3ad04c18 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3drm: Simplify declaration of VTable members (spotted by Dmitry Timoshkov).

parent d21c131f
......@@ -34,7 +34,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(d3drm);
typedef struct {
IDirect3DRM lpVtbl;
const IDirect3DRMVtbl *lpVtbl;
LONG ref;
} IDirect3DRMImpl;
......@@ -53,7 +53,7 @@ HRESULT Direct3DRM_create(LPDIRECT3DRM* ppDirect3DRM)
return E_OUTOFMEMORY;
}
object->lpVtbl.lpVtbl = &Direct3DRM_Vtbl;
object->lpVtbl = &Direct3DRM_Vtbl;
object->ref = 1;
*ppDirect3DRM = (IDirect3DRM*)object;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment