diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-01 06:28:57 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-01 06:28:57 +0400 |
commit | 4f056d1be78fe5a6bd869384960230817961ecb3 (patch) | |
tree | 526761bff5722184222fef40f450b4632d893737 /intern/cycles/device | |
parent | f47cb7e2d97736b86ce263b99eb3712cba30a80b (diff) |
Fix windows / msvc build error.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp index 0b9881c0eb5..689009e9b1a 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -250,28 +250,28 @@ public: static cl_context get_context(cl_platform_id platform, cl_device_id device, thread_scoped_lock &slot_locker) { - return get_something(platform, device, &Slot::context, clRetainContext, slot_locker); + return get_something<cl_context>(platform, device, &Slot::context, clRetainContext, slot_locker); } /* see get_something comment */ static cl_program get_program(cl_platform_id platform, cl_device_id device, thread_scoped_lock &slot_locker) { - return get_something(platform, device, &Slot::program, clRetainProgram, slot_locker); + return get_something<cl_program>(platform, device, &Slot::program, clRetainProgram, slot_locker); } /* see store_something comment */ static void store_context(cl_platform_id platform, cl_device_id device, cl_context context, thread_scoped_lock &slot_locker) { - store_something(platform, device, context, &Slot::context, clRetainContext, slot_locker); + store_something<cl_context>(platform, device, context, &Slot::context, clRetainContext, slot_locker); } /* see store_something comment */ static void store_program(cl_platform_id platform, cl_device_id device, cl_program program, thread_scoped_lock &slot_locker) { - store_something(platform, device, program, &Slot::program, clRetainProgram, slot_locker); + store_something<cl_program>(platform, device, program, &Slot::program, clRetainProgram, slot_locker); } /* discard all cached contexts and programs |