[Bug 9259] New: Lord of the Rings Online - Switch to windowed mode causes program to abort

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 11 03:30:07 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9259

           Summary: Lord of the Rings Online - Switch to windowed mode
                    causes program to abort
           Product: Wine
           Version: 0.9.43.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-directx
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: ajackson at bcs.org.uk


Got a strange problem that has started to occur since the changes to 0.9.43.

When you start the game in full screen mode and then try to switch to windowed
mode the game client displays an error dialog box and when you click OK (it
displays it 3 times) the game crashes and returns you to the command prompt.

The only error shown on the console is

err:d3d:IWineD3DImpl_CheckDeviceType unsupported format WINED3DFMT_X8R8G8B8

Having looked at the function in dlls/wined3d/directx.c I noticed something a
bit strange.

The function contains a line of code that reads:


for (it = 0; it < nCfgs; ++i)

The function above it contains a very similar line which seems to be doing the
same check.

for (it = 0; it < Adapters[Adapter].nCfgs; ++i)

I added the Adapters[Adapter] part to the function where the error was occuring
and can now switch to windowed mode without getting an error message.

If you need any traces or regression testing let me know and I'll provide the
information.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list