http://bugs.winehq.org/show_bug.cgi?id=34692
Bug #: 34692 Summary: Wolfenstein (2009) displays strange colors Product: Wine Version: 1.7.2 Platform: x86 URL: http://www.fileplanet.com/198909/190000/fileinfo/Wolfe nstein-Demo OS/Version: Linux Status: NEW Keywords: download, regression Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: stefan@codeweavers.com Classification: Unclassified Regression SHA1: df5a0976e9f28836489e8977122844fe053278b3
Created attachment 46240 --> http://bugs.winehq.org/attachment.cgi?id=46240 terminal output
Some of the in-game elements (crosshair, menu items) are displayed in strange colors (pink/purple). Reverting the following commit fixes the problem:
df5a0976e9f28836489e8977122844fe053278b3 is the first bad commit commit df5a0976e9f28836489e8977122844fe053278b3 Author: Stefan Dösinger stefan@codeweavers.com Date: Fri Sep 6 00:11:12 2013 +0200
wined3d: Check the format block size before creating textures.
Sizes of textures and stand-alone surfaces must be multiples of the format's block size for DXTN formats. Since we create a texture for everything (except in ddraw), this check also takes care of stand-alone surfaces.
:040000 040000 708a8e23ff2885672a0f69c0780f1218443b49b7 94d43a126dbf43dbae065582afcbec32f346554d M dlls
Either native d3dx9_36 or native d3dx9_40 also works around the issue. Let me know if you need further tests or logs.
Nvidia 250 / driver 325.15 wine-1.7.3-224-gbb2c32d