rolandoislas / drc-sim-client

Wii U Gamepad Simulator Frontend
Other
80 stars 11 forks source link

Resize Crash #12

Closed rolandoislas closed 7 years ago

rolandoislas commented 7 years ago

Possible dispose error. Fix applied in dev branch.

java.lang.IllegalArgumentException: 
  at com.badlogic.gdx.utils.BufferUtils.disposeUnsafeByteBuffer(BufferUtils.java:507)
  at com.badlogic.gdx.graphics.glutils.VertexArray.dispose(VertexArray.java:65)
  at com.badlogic.gdx.graphics.Mesh.dispose(Mesh.java:507)
  at com.badlogic.gdx.graphics.g2d.SpriteBatch.dispose(SpriteBatch.java:1013)
  at com.badlogic.gdx.scenes.scene2d.Stage.dispose(Stage.java:825)
  at com.rolandoislas.drcsimclient.Client.setStage(Client.java:71)
  at com.rolandoislas.drcsimclient.stage.Stage.resize(Stage.java:43)
  at com.rolandoislas.drcsimclient.Client.resize(Client.java:95)
  at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:281)
  at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1546)
  at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1262)