Fixed warnings
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#include <glm/ext/scalar_float_sized.hpp>
|
||||
|
||||
GLM_STATIC_ASSERT(sizeof(glm::float32) == 4, "float32 size isn't 4 bytes on this platform");
|
||||
#if GLM_HAS_STATIC_ASSERT
|
||||
static_assert(sizeof(glm::float32) == 4, "float32 size isn't 4 bytes on this platform");
|
||||
|
||||
#ifndef GLM_FORCE_SINGLE_ONLY
|
||||
GLM_STATIC_ASSERT(sizeof(glm::float64) == 8, "float64 size isn't 8 bytes on this platform");
|
||||
#endif//GLM_FORCE_SINGLE_ONLY
|
||||
# ifndef GLM_FORCE_SINGLE_ONLY
|
||||
static_assert(sizeof(glm::float64) == 8, "float64 size isn't 8 bytes on this platform");
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static int test_float_size()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user