export DirectDrawCreateEx

This commit is contained in:
FunkyFr3sh 2020-10-15 05:13:37 +02:00
parent d45bf45895
commit ae4b72c9c9
9 changed files with 98 additions and 64 deletions

View file

@ -879,7 +879,7 @@ HRESULT dd_CreateSurface(LPDDSURFACEDESC lpDDSurfaceDesc, LPDIRECTDRAWSURFACE FA
if (lpDDSurfaceDesc->ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE)
{
g_fake_primary_surface_export = dst_surface->surface;
FakePrimarySurface = dst_surface->surface;
}
SelectObject(dst_surface->hdc, dst_surface->bitmap);