ofBackgroundGradient + ofSetBackgroundAuto(false)?

Hello guys
I am writing an application where I would like to have a background gradient but being able to use the ofSetBackgroundAuto(false) function. I tried but I get a flickering on the iPad screen. Is there any way to combine those two? BTW: I have the gradient on the draw function.