haasn / libplacebo

Official mirror of libplacebo
http://libplacebo.org/
GNU Lesser General Public License v2.1
524 stars 63 forks source link

`pl_vulkan_hold`/`pl_vulkan_release`/`pl_vulkan_hold_raw` are declared but not defined #169

Closed Bobo1239 closed 1 year ago

Bobo1239 commented 1 year ago

AFAICT they are only defined in src/tests/vulkan.c which doesn't get linked into the final library. But the declarations are still present in libplacebo/vulkan.h causing linking errors when used.

kasper93 commented 1 year ago

Oh my... I moved them to test test/vulkan.c instead of vulkan/gpu_tex.c. I blame my editor for opening wrong file for me :)

Broken since https://github.com/haasn/libplacebo/commit/2b3079a

Will fix...