Set default video memory to 64Mb (was 16Mb) as many d3d9 demos use
authorRaphael Junqueira <fenix@club-internet.fr>
Thu, 27 Jan 2005 10:42:24 +0000 (10:42 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 27 Jan 2005 10:42:24 +0000 (10:42 +0000)
d3d7 code to get available video memory size (ex ConfigSystem.exe on
d3d9 sdk).

dlls/ddraw/ddraw/main.c

index a2f47f59d3da2d606c17c3257369ed99c1c248b8..47e2ebd62c71fbcfa78d2fe664395407bcf774ad 100644 (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;