# VR Mode: text() causes OpenGL error

**URL:** <https://discourse.processing.org/t/vr-mode-text-causes-opengl-error/9593>\
**Category:** Processing for Android\
**Created:** [March 25, 2019, 5:45am UTC](https://discourse.processing.org/t/vr-mode-text-causes-opengl-error/9593 "2019-03-25T05:45:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreaRibo](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@AndreaRibo](https://discourse.processing.org/u/AndreaRibo)\
**Post date:** [March 25, 2019, 5:45am UTC](https://discourse.processing.org/t/vr-mode-text-causes-opengl-error/9593/1 "2019-03-25T05:45:43Z")

</div>

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);
rotateY(PI/4);
text(“first”, 0, 0);
rotateY(-PI/4);
translate(0, 0, 100);
rotateY(-PI/4);
text(“second”, 0, 0);
`

How could I display the texts?

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [March 26, 2019, 7:22am UTC](https://discourse.processing.org/t/vr-mode-text-causes-opengl-error/9593/2 "2019-03-26T07:22:23Z")

</div>

Could you please open an issue in [Processing Android Github](https://github.com/processing/processing-android/issues) site? This is the best way to keep track and address this error. Could you also post a [MCVE](https://stackoverflow.com/help/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.

Kf
