[Bug 39978] New: emulated_textureram has no sense. It is always real VideoMemory
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Jan 12 13:20:17 CST 2016
https://bugs.winehq.org/show_bug.cgi?id=39978
Bug ID: 39978
Summary: emulated_textureram has no sense. It is always real
VideoMemory
Product: Wine
Version: 1.9.1
Hardware: x86
OS: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs at winehq.org
Reporter: isakov-sl at bk.ru
Created attachment 53416
--> https://bugs.winehq.org/attachment.cgi?id=53416
change key name to be different form native
Current wine has a reading from registry
~~~
if ( !get_config_key( hkey, appkey, "VideoMemorySize", buffer, size) )
{
int TmpVideoMemorySize = atoi(buffer);
if(TmpVideoMemorySize > 0)
{
wined3d_settings.emulated_textureram =
(UINT64)TmpVideoMemorySize *1024*1024;
TRACE("Use %iMiB = 0x%s bytes for emulated_textureram\n",
~~~
assuming user can change this value.
It doesn't happen.
The value will change to real value before this reading will occur.
There must be other registry key, for example "EmuVideoMemorySize".
In this case this method is working. The patch attached.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list