Commit 100ca518 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

ddraw: Make ddraw1_vtbl and ddraw_surface1_vtbl writable.

parent ba5afd8c
......@@ -4661,7 +4661,8 @@ static const struct IDirectDraw2Vtbl ddraw2_vtbl =
ddraw2_GetAvailableVidMem,
};
static const struct IDirectDrawVtbl ddraw1_vtbl =
/* Bad Mojo Redux expects this vtbl to be writable. */
static struct IDirectDrawVtbl ddraw1_vtbl =
{
/* IUnknown */
ddraw1_QueryInterface,
......
......@@ -5613,7 +5613,8 @@ static const struct IDirectDrawSurface2Vtbl ddraw_surface2_vtbl =
ddraw_surface2_PageUnlock,
};
static const struct IDirectDrawSurfaceVtbl ddraw_surface1_vtbl =
/* Bad Mojo Redux expects this vtbl to be writable. */
static struct IDirectDrawSurfaceVtbl ddraw_surface1_vtbl =
{
/* IUnknown */
ddraw_surface1_QueryInterface,
......
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