X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=6d9d062d747f4901c39e6b7681a6b4365c7d3939;hp=cd0a19f4dcd3cbe4972f186a0f25e324bf692517;hb=f85e35e129f2395cb03867feb804e5a4badc594e;hpb=2d8043bb837b45c9ae509450b3e1b1eb545e44b9 diff --git a/effect_chain.h b/effect_chain.h index cd0a19f..6d9d062 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -364,6 +364,9 @@ public: void reset_phase_timing(); void print_phase_timing(); + // Note: If you already know the width and height of the viewport, + // calling render_to_fbo() directly will be slightly more efficient, + // as it saves it from getting it from OpenGL. void render_to_screen() { render_to_fbo(0, 0, 0);