<div dir="ltr">Hi, <div><br></div><div>I'm working on a new object to play video and draw them directly into a frame buffer (I'm using libvmpv[1] to do so).</div><div>This object will be publicly released on the end of august.</div><div>In the meantime, I have optimisation trouble.<br>The object inherit from gemframebuffer object and I would like to redraw on the fbo only when a new frame is available, for performance reason.</div><div>But in my render() method,if I do not call gemframebuffer::render() then I get in the Pd's console : </div><div><br></div><div>    GL[1284]: stack underflow error</div><div><br></div><div>I'm wondering how I can get rid of this ? </div><div>i.e. returning render() method without calling gemframebuffer::render() ?</div><div>If I call it without drawing the frame, then the fbo is black.</div><div>If there is no new frame I just want to reuse last texture.</div><div><br></div><div>Best </div><div><br></div><div>Antoine</div></div>