Odd behaviour with GLGraphics OffScreen and save() / saveFrame()
in
Contributed Library Questions
•
2 years ago
I have a drawing app that I'm making that has a series of CP5 gui elements along the bottom of it...
I'm using GLGraphics as my renderer, and drawing to a OffScreen Buffer, all of which is working fine...
But when I'm trying to save out an image, I have some weird behaviour:
a) if i use buffer.saveFrame() I get the error message "The function saveFrame() does not exist"
b) if i use buffer.save() the saved image is empty
c) if i use buffer.beginDraw(); buffer.save(); buffer.endDraw(); the saved image is empty
d) if i use buffer.beginDraw(); save(); buffer.endDraw(); it saves the texture (without the GUI, which is what I want), but upside down...
Anyone have any ideas on this? I admit i'm a bit confused...
~ J
PS - I'm on P5 1.5.1 and GLGR 0.99
1