From e7d44cc8b01ba8b3b54c79d4eaf5ea674ac4e997 Mon Sep 17 00:00:00 2001
From: Nakarin Khankham <garuda2550@gmail.com>
Date: Sat, 9 Mar 2019 22:40:55 +0700
Subject: [PATCH 5/5] opencl: Expose all extensions list to wine.

Ideally we should blacklist each extensions instead.

Signed-off-by: Nakarin Khankham <garuda2550@gmail.com>
---
 dlls/opencl/opencl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c
index fccc45c..d028bcd 100644
--- a/dlls/opencl/opencl.c
+++ b/dlls/opencl/opencl.c
@@ -475,7 +475,7 @@ cl_int WINAPI wine_clGetPlatformInfo(cl_platform_id platform, cl_platform_info p
     /* Hide all extensions.
      * TODO: Add individual extension support as needed.
      */
-    if (param_name == CL_PLATFORM_EXTENSIONS)
+/*    if (param_name == CL_PLATFORM_EXTENSIONS)
     {
         ret = CL_INVALID_VALUE;
 
@@ -492,7 +492,7 @@ cl_int WINAPI wine_clGetPlatformInfo(cl_platform_id platform, cl_platform_info p
             ret = CL_SUCCESS;
         }
     }
-    else
+    else*/
     {
         ret = pclGetPlatformInfo(platform, param_name, param_value_size, param_value, param_value_size_ret);
     }
@@ -527,7 +527,7 @@ cl_int WINAPI wine_clGetDeviceInfo(cl_device_id device, cl_device_info param_nam
     /* Hide all extensions.
      * TODO: Add individual extension support as needed.
      */
-    if (param_name == CL_DEVICE_EXTENSIONS)
+/*    if (param_name == CL_DEVICE_EXTENSIONS)
     {
         ret = CL_INVALID_VALUE;
 
@@ -544,7 +544,7 @@ cl_int WINAPI wine_clGetDeviceInfo(cl_device_id device, cl_device_info param_nam
             ret = CL_SUCCESS;
         }
     }
-    else
+    else*/
     {
         ret = pclGetDeviceInfo(device, param_name, param_value_size, param_value, param_value_size_ret);
     }
-- 
1.9.1

