Hello,
do you know if can I resize the canvas during runtime?
How can I do it?
I tried to do this, but I am getting some distorted render after resizing:
void refreshBloom()
{
ofLogNotice("WaveformPlot") << (__FUNCTION__);
ofDisableArbTex();
//fbo.allocate(1920, 1080);
fbo.allocate(boxPlotIn.getWidth(), boxPlotIn.getHeight());
ofEnableArbTex();
//bloom.setup(1920, 1080, fbo);
bloom.setup(boxPlotIn.getWidth(), boxPlotIn.getHeight(), fbo);
}
Thanks
Hello,
do you know if can I resize the canvas during runtime?
How can I do it?
I tried to do this, but I am getting some distorted render after resizing:
Thanks