-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi,
I am trying to get a bitmap of the surface and copy that to some texture. Here's the code
UltralightBitmapSurface surface = (UltralightBitmapSurface) view.surface();
UltralightBitmap bitmap = surface.bitmap();
UltralightBuffer lock = bitmap.lockPixels();
texture.setPixels(bitmap.rawPixels()); // some other engine code
lock.close();
However, the above code throws this JNI exception:
Caused by: java.lang.UnsatisfiedLinkError: 'void net.janrupf.ujr.platform.jni.impl.JNIUlBitmap.nativeUnlockPixels(byte[])'
Metadata
Metadata
Assignees
Labels
No labels