gdx-gltf icon indicating copy to clipboard operation
gdx-gltf copied to clipboard

Load pixmap from bytes in WebGL

Open yuripourre opened this issue 2 years ago • 1 comments

Hello @mgsx-dev, I am trying to run a project using gdx-gltf in the browser using gwt but I am getting this error on the console:

GwtApplication: exception: load pixmap from bytes not supported for WebGL

The exception is thrown by PixmapBinaryLoaderHack.java

Edit: Originally I thought the limitation was on gdx-gltf but I found that the GWT Pixmap has no construtor using array of bytes. This is a limitation of libGDX I am doing some research.

yuripourre avatar Oct 07 '21 00:10 yuripourre

Ok, I just found it in the Readme.md: https://github.com/mgsx-dev/gdx-gltf#webgl-limitations

yuripourre avatar Oct 07 '21 00:10 yuripourre

considering you closed your libgdx PR https://github.com/libgdx/libgdx/pull/6738 i think we'll keep it as a limitation for now

mgsx-dev avatar Aug 24 '22 12:08 mgsx-dev