chore: cleanup
This commit is contained in:
@@ -15,13 +15,6 @@ extern "C" {
|
||||
return window;
|
||||
}
|
||||
|
||||
// int ThermionAndroid_createGLTexture(jobject )
|
||||
|
||||
// int ASurfaceTexture_attachToGLContext(
|
||||
// ASurfaceTexture *st,
|
||||
// uint32_t texName
|
||||
// )
|
||||
|
||||
ResourceLoaderWrapper* make_resource_loader_wrapper_android(LoadFilamentResourceFromOwner loadFn, FreeFilamentResourceFromOwner freeFn, void* owner) {
|
||||
ResourceLoaderWrapper *rlw = (ResourceLoaderWrapper *)malloc(sizeof(ResourceLoaderWrapper));
|
||||
rlw->loadToOut = nullptr;
|
||||
|
||||
@@ -25,7 +25,6 @@ import io.flutter.plugin.common.MethodChannel.MethodCallHandler
|
||||
import io.flutter.view.TextureRegistry.SurfaceTextureEntry
|
||||
import java.io.File
|
||||
import java.util.*
|
||||
import android.opengl.GLES20;
|
||||
|
||||
|
||||
class LoadFilamentResourceFromOwnerImpl(plugin:ThermionFlutterPlugin) : LoadFilamentResourceFromOwner {
|
||||
@@ -206,7 +205,6 @@ class ThermionFlutterPlugin: FlutterPlugin, MethodCallHandler, ActivityAware, Lo
|
||||
val textureId = (call.arguments as Int).toLong()
|
||||
val textureEntry = textures[textureId]
|
||||
if (textureEntry != null) {
|
||||
//textureEntry.surfaceTexture.updateTexImage()
|
||||
result.success(null)
|
||||
} else {
|
||||
result.error("TEXTURE_NOT_FOUND", "Texture with id $textureId not found", null)
|
||||
|
||||
Reference in New Issue
Block a user