Set default video memory to 64Mb (was 16Mb) as many d3d9 demos use

d3d7 code to get available video memory size (ex ConfigSystem.exe on
d3d9 sdk).
This commit is contained in:
Raphael Junqueira 2005-01-27 10:42:24 +00:00 committed by Alexandre Julliard
parent db0d0b91e6
commit 52bf5023fb

View file

@ -118,7 +118,7 @@ HRESULT Main_DirectDraw_Construct(IDirectDrawImpl *This, BOOL ex)
/* This is for the moment here... */
This->free_memory = free_memory;
This->allocate_memory = allocate_memory;
This->total_vidmem = 16 * 1024 * 1024;
This->total_vidmem = 64 * 1024 * 1024;
This->available_vidmem = This->total_vidmem;
return DD_OK;