Commit 52bf5023 authored by Raphael Junqueira's avatar Raphael Junqueira Committed by Alexandre Julliard

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).
parent db0d0b91
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment