~ubuntu-branches/ubuntu/trusty/blender/trusty-proposed

« back to all changes in this revision

Viewing changes to intern/opencl/intern/OCL_opencl.c

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2013-08-14 10:43:49 UTC
  • mfrom: (14.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20130814104349-t1d5mtwkphp12dyj
Tags: 2.68a-3
* Upload to unstable
* debian/: python3.3 Depends simplified
  - debian/control: python3.3 Depends dropped
    for blender-data package
  - 0001-blender_thumbnailer.patch refreshed
* debian/control: libavcodec b-dep versioning dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "OCL_opencl.h"
24
24
 
25
 
void OCL_init(void)
 
25
int OCL_init(void)
26
26
{
27
27
#ifdef _WIN32
28
28
        const char *path = "OpenCL.dll";
32
32
        const char *path = "libOpenCL.so";
33
33
#endif
34
34
 
35
 
        clewInit(path);
 
35
        return (clewInit(path) == CLEW_SUCCESS);
36
36
}
37
37