Fixed GTX_color_space - saturation #195

This commit is contained in:
Christophe Riccio
2014-05-04 17:20:40 +02:00
parent c80f5bc740
commit d77bfa1a70
3 changed files with 17 additions and 6 deletions

View File

@@ -11,9 +11,20 @@
#include <glm/gtc/type_precision.hpp>
#include <glm/gtx/color_space.hpp>
int test_saturation()
{
int Error(0);
glm::vec4 Color = glm::saturation(1.0f, glm::vec4(1.0, 0.5, 0.0, 1.0));
return Error;
}
int main()
{
int Error(0);
Error += test_saturation();
return Error;
}