<div dir="ltr">this is what I missed, thanks<div><br></div><div>a</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 19 juil. 2019 à 13:18, IOhannes m zmölnig <<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/19/19 12:28 PM, Antoine Villeret wrote:<br>
> Hi,<br>
> <br>
> I'm working on a new object to play video and draw them directly into a<br>
> frame buffer (I'm using libvmpv[1] to do so).<br>
> This object will be publicly released on the end of august.<br>
> In the meantime, I have optimisation trouble.<br>
> The object inherit from gemframebuffer object and I would like to redraw on<br>
> the fbo only when a new frame is available, for performance reason.<br>
> But in my render() method,if I do not call gemframebuffer::render() then I<br>
> get in the Pd's console :<br>
> <br>
>     GL[1284]: stack underflow error<br>
> <br>
> I'm wondering how I can get rid of this ?<br>
<br>
most likely (i haven't looked at the code...) you will also have to<br>
override the gemframebuffer::postrender() method.<br>
<br>
mgdsar<br>
IOhannes<br>
<br>
_______________________________________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@lists.iem.at" target="_blank">GEM-dev@lists.iem.at</a><br>
<a href="https://lists.puredata.info/listinfo/gem-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/gem-dev</a><br>
</blockquote></div>