Store GL_FLOAT FlatInputs as fp32, not fp16.
[movit] / flat_input.cpp
index 28380f4..cf53034 100644 (file)
@@ -39,7 +39,7 @@ void FlatInput::finalize()
        // Translate the input format to OpenGL's enums.
        GLenum internal_format;
        if (type == GL_FLOAT) {
-               internal_format = GL_RGBA16F_ARB;
+               internal_format = GL_RGBA32F_ARB;
        } else if (output_linear_gamma) {
                assert(type == GL_UNSIGNED_BYTE);
                internal_format = GL_SRGB8_ALPHA8;