1 Jul 2012 12:10
[PATCH] wined3d: Add a switch to preserve vertex buffer copy in system memory.
Vincas Miliūnas <vincas.miliunas <at> gmail.com>
2012-07-01 10:10:17 GMT
2012-07-01 10:10:17 GMT
CryENGINEs 2 and 3 have a feature of accessing system memory copy of vertex buffer after it's been unlocked, this leads to crashes when running under WINE [1]. This will also affect upcoming games like MechWarrior Online, which are based on the same engine. As suggested [2], it would be good to have a switch to force preservation of vertex buffer copy in system memory [3]. The new registry key is named PreserveVertexBufferSysMemCopy and is located in the Direct3D section. [1] http://bugs.winehq.org/show_bug.cgi?id=18799 [2] http://bugs.winehq.org/show_bug.cgi?id=18799#c37 [3] http://bugs.winehq.org/show_bug.cgi?id=18040#c21 --- dlls/wined3d/buffer.c | 5 +++++ dlls/wined3d/wined3d_main.c | 7 +++++++ dlls/wined3d/wined3d_private.h | 1 + 3 files changed, 13 insertions(+), 0 deletions(-)
RSS Feed