glm/test/gtx/gtx_texture.cpp
Christophe f86092a658
Remove disabled warnings (#1213)
* Remove disabled warnings
2024-01-20 10:11:13 +01:00

24 lines
307 B
C++

#include <glm/vec2.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/texture.hpp>
static int test_levels()
{
int Error = 0;
int const Levels = glm::levels(glm::ivec2(3, 2));
Error += Levels == 2 ? 0 : 1;
return Error;
}
int main()
{
int Error = 0;
Error += test_levels();
return Error;
}