X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=init.cpp;h=89998f40d64d81c957dfabc897ba61b6b63a7552;hb=ab89030be6f55cd1955b9e033c62c2e3c3ba2a2f;hp=671c507c5588c7faf5783b7f0a500d1780fc9162;hpb=9e219b96e914b2e5709ba3c3345afdc3cf13a78d;p=movit diff --git a/init.cpp b/init.cpp index 671c507..89998f4 100644 --- a/init.cpp +++ b/init.cpp @@ -38,7 +38,7 @@ void measure_texel_subpixel_precision() check_error(); glBindTexture(GL_TEXTURE_2D, dst_texnum); check_error(); - glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA16F_ARB, width, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); + glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA16F, width, 1, 0, GL_RGBA, GL_FLOAT, NULL); check_error(); glGenFramebuffers(1, &fbo);