mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
set default size of primary surface to 1024x768
This commit is contained in:
parent
1ce5acd05d
commit
aa357c044d
@ -1420,8 +1420,8 @@ HRESULT dd_CreateSurface(
|
||||
|
||||
dst_surface->caps |= DDSCAPS_VISIBLE;
|
||||
|
||||
dst_surface->width = g_ddraw.width;
|
||||
dst_surface->height = g_ddraw.height;
|
||||
dst_surface->width = g_ddraw.width == 0 ? 1024 : g_ddraw.width;
|
||||
dst_surface->height = g_ddraw.height == 0 ? 768 : g_ddraw.height;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user