Mega hack to allow Capitalism2/CapLab's custom double-buffer system to draw.
Do not accept as is, please gate this in a config option
This commit is contained in:
parent
d7ad443d92
commit
1bcbf98e2a
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ ULONG __stdcall IDirectDrawSurface__Release(IDirectDrawSurfaceImpl *This)
|
|||
HRESULT __stdcall IDirectDrawSurface__AddAttachedSurface(IDirectDrawSurfaceImpl *This, LPDIRECTDRAWSURFACE lpDDSurface)
|
||||
{
|
||||
dprintf("-> %s(This=%p, lpDDSurface=%p)\n", __FUNCTION__, This, lpDDSurface);
|
||||
((IDirectDrawSurfaceImpl*) lpDDSurface)->surface = This->surface;
|
||||
HRESULT ret = dds_AddAttachedSurface(This, lpDDSurface);
|
||||
dprintf("<- %s\n", __FUNCTION__);
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue