add fix for custom levels
This commit is contained in:
parent
e3142956dc
commit
b63410c444
1 changed files with 2 additions and 1 deletions
|
@ -1442,7 +1442,8 @@ HRESULT dd_CreateSurface(
|
|||
|
||||
|
||||
if (InterlockedExchangeAdd(&g_dds_gdi_handles, 0) < 4000 ||
|
||||
(dst_surface->width == g_ddraw->width && dst_surface->height == g_ddraw->height))
|
||||
(dst_surface->width == g_ddraw->width && dst_surface->height == g_ddraw->height) ||
|
||||
(dst_surface->width == 128 && dst_surface->height == 128))
|
||||
{
|
||||
dst_surface->hdc = CreateCompatibleDC(g_ddraw->render.hdc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue