FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
549 stars 107 forks source link

Changing screen resolution Problem !!!!! #62

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi there ,recently i downloaded Xash3d and i build it using visual studio 2010 in debug mode, but when i try to test my halflife Mod which i also build it in debug mode,the engine(Xash3D) crashes(When trying to change screen resolution or starting new game ) while the Mod work perfectly with the original valve engine,and not only my mod crashes with Xash but all other mods too. So i debugged the program and client.dll file, and the result was that the game crashes at this file vgui_TeamFortress Viewport.cpp When trying to execute this line: App::getInstance()->setScheme(pScheme) located in TeamFortressViewport::TeamFortressViewport() function Please help!!!!

mittorn commented 8 years ago

You need to use vgui from steam version. Other solution is to build vgui_support.dll with vgui.lib from old sdk.

ghost commented 8 years ago

Problem Solved thank you!!!!!!