Octavian Voicu : opencl: Remove reference to clSetCommandQueueProperty and print fixme, saying function is deprecated.

Alexandre Julliard julliard at winehq.org
Thu Sep 1 11:55:59 CDT 2011


Module: wine
Branch: master
Commit: f8877ea337d644e6514d2b738862ec5fed1d8751
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f8877ea337d644e6514d2b738862ec5fed1d8751

Author: Octavian Voicu <octavian.voicu at gmail.com>
Date:   Thu Sep  1 09:22:41 2011 +0300

opencl: Remove reference to clSetCommandQueueProperty and print fixme, saying function is deprecated.

---

 dlls/opencl/opencl.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c
index 03acb48..9b466ec 100644
--- a/dlls/opencl/opencl.c
+++ b/dlls/opencl/opencl.c
@@ -276,10 +276,8 @@ cl_int WINAPI wine_clGetCommandQueueInfo(cl_command_queue command_queue, cl_comm
 cl_int WINAPI wine_clSetCommandQueueProperty(cl_command_queue command_queue, cl_command_queue_properties properties, cl_bool enable,
                                              cl_command_queue_properties * old_properties)
 {
-    cl_int ret;
-    TRACE("%p, 0x%lx, %d, %p\n", command_queue, (long unsigned int)properties, enable, old_properties);
-    ret = clSetCommandQueueProperty(command_queue, properties, enable, old_properties);
-    return ret;
+    FIXME("(%p, 0x%lx, %d, %p): deprecated\n", command_queue, (long unsigned int)properties, enable, old_properties);
+    return CL_INVALID_QUEUE_PROPERTIES;
 }
 
 




More information about the wine-cvs mailing list