mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
add fix for custom levels
This commit is contained in:
parent
e3142956dc
commit
b63410c444
@ -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…
x
Reference in New Issue
Block a user