http://bugs.winehq.org/show_bug.cgi?id=10697
--- Comment #30 from Roderick Colenbrander thunderbird2k@gmx.net 2008-01-11 10:39:52 --- For some reason uploading of the data ('palette indices') doesn't seem to work for some reason. Just forcing the data to get uploaded as GL_RED seems to work fine (the game is then black&red) else the screen just becomes white. Further the other palette conversion backend which uses shaders also doesn't seem to function on the GeforceFX. I have no idea why.
Is the first version after the surface rewrite which readds texture uploading 2a09716c75207d7276a95c094ef3dfa9bd03c613 but it fails (make sure to adjust d3dfmt_get_conv like I posted in another message).
The last working version (after you fix d3dfmt_get_conv) is 20f1f50b2a20b5d8b033babd2a14a0e43c2a00b4
I suspect it is really an nvidia driver bug as Mesa still works. Somehow the different codepath has triggered or perhaps Wine isn't uploading at the right moment anymore. I won't do more debugging on it for a while.
GL_INVALID_ENUM lines might appear to due GL_ARB_texture_rectangle which you can disable in directx.c.