diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-30 08:08:26 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-30 08:08:26 +0000 |
| commit | 9cd3c70b02f85e617f4abc37afc79b4668a2d0ca (patch) | |
| tree | eeb0c0bbe5cebc41999b8ff72ca83f8d4fccf1bf /Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp | |
| parent | 2245b1040f51d1ef7981cbf052eabdf94bdc3318 (diff) | |
The rendering codepath doesn't currently quite recover from an OpenCL
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
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions
