VR Mode: text() causes OpenGL error


While using the VR mode with the Processing-Android, I need to display a text.

There are no problems if I just use the text function:

translate(width/2, height/2);
text(“MyText”, 0, 0);

But, if I’m going to draw multiple texts or rotated texts, I get an OpenGL error:

translate(width/2, height/2);
text(“first”, 0, 0);
translate(0, 0, 100);
text(“second”, 0, 0);

How could I display the texts?


Could you please open an issue in Processing Android Github site? This is the best way to keep track and address this error. Could you also post a MCVE for this issue? I would like to know if you were calling this in setup or draw. I suggest you also try using the text() function providing x,y,z coordinates.
It is helpful to also provide information about your device and version of your software: Android SDK, Processing, Android Mode in Processing, etc.

If you don’t want to open the issue for any reason, let me know and I could do it for you.