ddraw: Make ddraw1_vtbl and ddraw_surface1_vtbl writable.

Wine-Bug: <https://bugs.winehq.org/show_bug.cgi?id=39534>
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Müller 2020-04-26 22:58:27 -05:00 committed by Alexandre Julliard
parent ba5afd8c30
commit 100ca51805
2 changed files with 4 additions and 2 deletions

View File

@ -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,

View File

@ -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,