Cleanup: GPU: Remove warning about unused parameter

This commit is contained in:
Clément Foucault
2024-01-13 20:37:11 +13:00
parent f70b8f76e9
commit df8dea9287

View File

@@ -1050,6 +1050,8 @@ struct ShaderCreateInfo {
{
#ifdef WITH_METAL_BACKEND
mtl_max_threads_per_threadgroup_ = max_total_threads_per_threadgroup;
#else
UNUSED_VARS(max_total_threads_per_threadgroup);
#endif
return *(Self *)this;
}