# OpenGL Renderer issue

**URL:** <https://discourse.processing.org/t/opengl-renderer-issue/2033>\
**Category:** Processing for Android\
**Created:** [July 23, 2018, 11:48pm UTC](https://discourse.processing.org/t/opengl-renderer-issue/2033 "2018-07-23T23:48:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chanof](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@chanof](https://discourse.processing.org/u/chanof)\
**Post date:** [July 23, 2018, 11:48pm UTC](https://discourse.processing.org/t/opengl-renderer-issue/2033/1 "2018-07-23T23:48:55Z")

</div>

Hello everyone, I find a problem on android mode with renderers:

On:  
Processing 3.3.7  
Max OSX 10.13.5  
Samsung S7 Android 8.0.0

```auto
void setup(){
fullScreen(P2D);
}
void draw(){}

```

I get this error on the consolle with the sketch above already running

> OpenGL error 1280 at bot beginDraw(): invalid enum

Is there anyone who can help me figure out how to fix it?

Thanks!

---

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [July 24, 2018, 7:18am UTC](https://discourse.processing.org/t/opengl-renderer-issue/2033/2 "2018-07-24T07:18:32Z")

</div>

@chanof===

try to put fullScreen(P2D) in void settings() before setup(); does it work???

---

<div class="post-metadata">

**Author:** ![chanof](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@chanof](https://discourse.processing.org/u/chanof)\
**Post date:** [July 24, 2018, 1:16pm UTC](https://discourse.processing.org/t/opengl-renderer-issue/2033/3 "2018-07-24T13:16:49Z")

</div>

Hi @akenaton I just tried but the error remains, i also try by using

`size(displayWidth,displayHeight,P2D)`

Could it be an SDK problem? But I do not know how to change it  
I read a lot on this error, someone need to add the external filse to data folder, Someone because of the wrong SDK.  
May i ask how can i change it? SDK updater don’t give this option.  
I notice that on another phone with Android 6.0 the error disappear  
Thanks
