ajstarks/openvg

End() fails after a finish() and a init(). I'm trying to go back and forth from and to the raw terminal

Opened this issue · 0 comments

So far, the examples and the library works great.

The idea is to be able to re-initialize and finish the full-screen image, but I cannot locate the problem...This is all I get on the console, on the End() of a simple sequence of circles and text, but after a second init() that followed the first finish()

libshape.c: End: Asertion 'vgGetError() == VG_NO_ERROR' failed.

Somehow finish() does not clean all up, for a new init() to work.

I am getting started on a RPi zero, haven't figure out how to debug step-by-step yet on it.

I see on the init(): bcm_host_init() and olginit()
I don't see the corresponding ending of those on the finish()
Maybe is something like that?

Thanks.