g-truc / glm

OpenGL Mathematics (GLM)
https://glm.g-truc.net
Other
9.05k stars 2.1k forks source link

Fix log2 func. qualifier #1283

Closed tomix1024 closed 4 months ago

tomix1024 commented 4 months ago

I just noticed that glm::log2 does not compile in CUDA device code. Apparently there was a GLM_FUNC_QUALIFIER missing. All other functions that were defined in a similar way were already properly decorated.

christophe-lunarg commented 4 months ago

Thanks for contributing!