KhronosGroup / OpenCL-CLHPP

Khronos OpenCL-CLHPP
Apache License 2.0
369 stars 129 forks source link

Fix zero initialization of cl_image_desc. #218

Closed Kerilk closed 1 year ago

Kerilk commented 1 year ago

This fixes https://github.com/KhronosGroup/OpenCL-CLHPP/issues/217 by using the correct syntax for the structure initialization, default values for integer and pointers being 0 and nullptr this should be equivalent to the intended zero initialization.