mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
OpenCL: A bit more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4347 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fb258e3ca5
commit
aa1fd81e37
3 changed files with 13 additions and 4 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "CPUDetect.h"
|
||||
#include "TextureDecoder.h"
|
||||
#ifdef OPENCL
|
||||
#ifdef HAVE_OPENCL
|
||||
#include "OpenCL/TextureDecoder.h"
|
||||
#endif
|
||||
|
||||
|
@ -581,7 +581,7 @@ void TexDecoder_SetTexFmtOverlayOptions(bool enable, bool center)
|
|||
|
||||
PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, int texformat, int tlutaddr, int tlutfmt)
|
||||
{
|
||||
#ifdef OPENCL
|
||||
#ifdef HAVE_OPENCL
|
||||
PC_TexFormat retval = TexDecoder_Decode_OpenCL(dst, src, width, height, texformat, tlutaddr, tlutfmt);
|
||||
#else
|
||||
PC_TexFormat retval = TexDecoder_Decode_real(dst,src,width,height,texformat,tlutaddr,tlutfmt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue