SonyWWS/LevelEditor

Application does not select correct GPU for rendering

eajames opened this issue · 2 comments

I've got two GPUs in my system. Nvidia Geforce GT440 (dx9) and AMD R9-290x (dx11). There is no display connected to the Nvidia card. The application merely picks the second one to appear in the list of devices obtained (DeviceManager.cpp, line 50).

This is a problem because there is no prejudice regarding the level of directx on the card. The application merely crashes because it has selected a non dx11 compatible card.

I fixed it by modifying the DeviceManager constructor to select the device with the larger memory... probably not a good permanent solution.

Your local change should be good for now.
I will add better GPU detection method.
Thanks for reporting the issue.
Alan