Skip to content

Rezise fuction doesn't work when using P2D #332

@Schotsl

Description

@Schotsl

When I try to use the rezise function while using P2D the app crashes and gives this error

java.lang.ArrayIndexOutOfBoundsException:
length=2052000; index=2052000

OpenGL error 1280 at bot beginDraw(): invalid enum
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
OpenGL error 1280 at top endDraw(): invalid enum
java.lang.ArrayIndexOutOfBoundsException: length=2052000; index=2052000
 at processing.opengl.Texture.convertToRGBA(Unknown Source)
 at processing.opengl.Texture.set(Unknown Source)
 at processing.opengl.Texture.set(Unknown Source)
 at processing.opengl.PGraphicsOpenGL.initCache(Unknown Source)
 at processing.opengl.PGraphicsOpenGL.getTexture(Unknown Source)
 at processing.opengl.PGraphicsOpenGL$TexCache.getTexture(Unknown Source)
 at processing.opengl.PGraphicsOpenGL.flushPolys(Unknown Source)
 at processing.opengl.PGraphicsOpenGL.flush(Unknown Source)
 at processing.opengl.PGraphicsOpenGL.endDraw(Unknown Source)
 at processing.core.PApplet.handleDraw(Unknown Source)
 at processing.opengl.PGLES$AndroidRenderer.onDrawFrame(Unknown Source)
 at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1649)
 at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1354)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions