mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 08:39:13 +01:00
9cd3c70b02
initialization failure, so help it along a little by also considering the CPU as an OpenCL device. Use CL_DEVICE_TYPE_DEFAULT rather than CL_DEVICE_TYPE_ALL as that will give preference to the spiffy GPU if one is present. Implementations of OpenCL are likely to put a GPU as the first device in the list, but there is no guarantee of this and this code currently only picks the first device in the list. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5547 8ced0084-cf51-0410-be5f-012b33b47a6e