Fixed a small bug regarding to AMD vs Intel OpenCL implementations

This commit is contained in:
MitchellHansen
2017-03-02 20:50:30 -08:00
parent d2d759810f
commit 04a68c1dec
4 changed files with 7 additions and 11 deletions

View File

@@ -80,7 +80,7 @@ private:
int check_cl_khr_gl_sharing();
int create_image_buffer(std::string buffer_name, cl_uint size, sf::Texture* texture);
int create_image_buffer(std::string buffer_name, cl_uint size, sf::Texture* texture, cl_int access_type);
int create_buffer(std::string buffer_name, cl_uint size, void* data);
int create_buffer(std::string buffer_name, cl_uint size, void* data, cl_mem_flags flags);
int store_buffer(cl_mem, std::string buffer_name);