Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-06-01 06:28:57 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-06-01 06:28:57 +0400
commit4f056d1be78fe5a6bd869384960230817961ecb3 (patch)
tree526761bff5722184222fef40f450b4632d893737 /intern/cycles/device/device_opencl.cpp
parentf47cb7e2d97736b86ce263b99eb3712cba30a80b (diff)
Fix windows / msvc build error.
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r--intern/cycles/device/device_opencl.cpp8
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