X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain_test.cpp;h=70701b35095511d19c45a5bf39a7e14668d004a0;hp=b1f0815cc62d80b604ca5a4fc0f1618d941ca913;hb=de9c0e36aae9272c57596541de19790686669b25;hpb=e9f0fb5e6ae193a5a853ac5aef82927b6a81267a diff --git a/effect_chain_test.cpp b/effect_chain_test.cpp index b1f0815..70701b3 100644 --- a/effect_chain_test.cpp +++ b/effect_chain_test.cpp @@ -2,7 +2,7 @@ // // Note that this also contains the tests for some of the simpler effects. -#include +#include #include #include "effect.h" @@ -1002,7 +1002,7 @@ TEST(EffectChainTest, IdentityWithOwnPool) { check_error(); glBindTexture(GL_TEXTURE_2D, texnum); check_error(); - glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); + glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, width, height, 0, GL_RGBA, GL_FLOAT, NULL); check_error(); glGenFramebuffers(1, &fbo);