Load pixmap from bytes in WebGL
yuripourre opened this issue · 2 comments
yuripourre commented
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 commented
Ok, I just found it in the Readme.md: https://github.com/mgsx-dev/gdx-gltf#webgl-limitations
mgsx-dev commented
considering you closed your libgdx PR libgdx/libgdx#6738 i think we'll keep it as a limitation for now