http://bugs.winehq.org/show_bug.cgi?id=23386
Jeff Cook cookiecaper@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #6 from Jeff Cook cookiecaper@gmail.com 2010-07-09 14:05:47 --- The main problem here is that apparently -dxlevel 9 is the WRONG parameter to give Source games to indicate the dxlevel. It must be -dxlevel 90. When I do that, everything works. If anyone comes across this bug with the same problem, make sure you are passing -dxlevel 90 or -dxlevel 95, as these are the accepted parameters for setting DirectX level in TF2. The game starts fine with one of these parameters given.
That said, the game _does_ do something different with -dxlevel 9 because it doesn't start up when I send that. Adding the outstanding remainder of the "3DMark patch", which is setting MaxPointSize = 64.0f in directx.c gets around the error on startup about the pixel shader, but the game continues to render in DX8 mode anyway. I don't know what -dxlevel 9 is supposed to do, probably just a leftover, but it breaks things and Valve should remove it.
I am closing this bug as invalid because -dxlevel 9 is an undocumented parameter, nobody knows what it is supposed to do, and I don't feel like testing this one on Windows to see if it gives the same behavior or not. If someone else decides it's a real issue, please reopen.