Merge pull request #1041 from lpisha/master

Remove ban on using string_cast with CUDA host code #1041
This commit is contained in:
Christophe 2020-11-21 21:59:09 +01:00 committed by GitHub
commit 4ae59db254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,6 @@
/// Include <glm/gtx/string_cast.hpp> to use the features of this extension. /// Include <glm/gtx/string_cast.hpp> to use the features of this extension.
/// ///
/// Setup strings for GLM type values /// Setup strings for GLM type values
///
/// This extension is not supported with CUDA
#pragma once #pragma once
@ -32,10 +30,6 @@
# endif # endif
#endif #endif
#if(GLM_COMPILER & GLM_COMPILER_CUDA)
# error "GLM_GTX_string_cast is not supported on CUDA compiler"
#endif
namespace glm namespace glm
{ {
/// @addtogroup gtx_string_cast /// @addtogroup gtx_string_cast