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:
parent
ba5afd8c30
commit
100ca51805
|
@ -4661,7 +4661,8 @@ static const struct IDirectDraw2Vtbl ddraw2_vtbl =
|
||||||
ddraw2_GetAvailableVidMem,
|
ddraw2_GetAvailableVidMem,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct IDirectDrawVtbl ddraw1_vtbl =
|
/* Bad Mojo Redux expects this vtbl to be writable. */
|
||||||
|
static struct IDirectDrawVtbl ddraw1_vtbl =
|
||||||
{
|
{
|
||||||
/* IUnknown */
|
/* IUnknown */
|
||||||
ddraw1_QueryInterface,
|
ddraw1_QueryInterface,
|
||||||
|
|
|
@ -5613,7 +5613,8 @@ static const struct IDirectDrawSurface2Vtbl ddraw_surface2_vtbl =
|
||||||
ddraw_surface2_PageUnlock,
|
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 */
|
/* IUnknown */
|
||||||
ddraw_surface1_QueryInterface,
|
ddraw_surface1_QueryInterface,
|
||||||
|
|
Loading…
Reference in New Issue