http://bugs.winehq.org/show_bug.cgi?id=4341
Summary: Conquer Online 2 fails with X error BadMatch on glXMakeCurrent (in d3d8) Product: Wine Version: 0.9.5. Platform: PC URL: http://www.conqueronline.com/downloads/client.htm OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: jan.wine@zerebecki.de
It calls glXMakeCurrent with win==0 (and ctx!=NULL) in dlls/d3d8/directx.c:IDirect3D8Impl_CreateDevice . That fails with "X Error of failed request: BadMatch (invalid parameter attributes)" (correct, at least according to http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/glx/xma... ). So i guess the problem is that GetPropA( whichHWND, "__wine_x11_whole_window" ); (earlier in the same function) returns 0 . But i have no idea what to do now to find or fix the problem.
The game can be freely downloaded at http://www.conqueronline.com/downloads/client.htm .