X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=flow.cpp;h=dd22a58c902232ecb33c1934e1e91d24dd5f0a1d;hb=9c51e8054090bdee99797c9e421441cf9ae71140;hp=ca3ce39ff20cbf515877fe46c0d00c44b0cf1b92;hpb=4533f538e3b5b2347cc2be305be88e958d25383b;p=nageru diff --git a/flow.cpp b/flow.cpp index ca3ce39..dd22a58 100644 --- a/flow.cpp +++ b/flow.cpp @@ -524,8 +524,7 @@ int main(void) // Set up an output texture (initially zero). GLuint dense_flow_tex; glCreateTextures(GL_TEXTURE_2D, 1, &dense_flow_tex); - //glTextureStorage2D(dense_flow_tex, 1, GL_RGB16F, level_width, level_height); - glTextureStorage2D(dense_flow_tex, 1, GL_RGBA32F, level_width, level_height); + glTextureStorage2D(dense_flow_tex, 1, GL_RGB16F, level_width, level_height); // And draw. densify.exec(tex0_view, tex1_view, flow_out_tex, dense_flow_tex, level_width, level_height, width_patches, height_patches);