From e70e4b8b250d2c28d4d607a91a27c23060d9eb98 Mon Sep 17 00:00:00 2001 From: jake Date: Thu, 11 Jan 2024 15:35:42 -0500 Subject: [PATCH] LWE_Core --- .../citra_emu/activities/EmulationActivity.kt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/android/app/src/main/java/org/citra/citra_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/org/citra/citra_emu/activities/EmulationActivity.kt index 40efe7fc94f..ab80905f882 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/activities/EmulationActivity.kt +++ b/src/android/app/src/main/java/org/citra/citra_emu/activities/EmulationActivity.kt @@ -11,6 +11,7 @@ import android.content.Intent import android.content.SharedPreferences import android.content.pm.PackageManager import android.net.Uri +import android.opengl.EGL14 import android.opengl.EGLConfig import android.opengl.GLSurfaceView import android.os.Bundle @@ -45,12 +46,8 @@ import org.citra.citra_emu.utils.ForegroundService import org.citra.citra_emu.utils.EmulationLifecycleUtil import org.citra.citra_emu.utils.ThemeUtil import org.citra.citra_emu.viewmodel.EmulationViewModel -import com.leia.LWE_Core -import com.leia.core.LogLevel -import com.leia.core.SharedCameraSink -import com.leia.sdk.FaceTrackingRuntime import com.leia.sdk.LeiaSDK -import com.leia.sdk.views.InputViewsAsset +import com.leia.LWE_Core import javax.microedition.khronos.opengles.GL10 private class LWERenderer(val activity: Activity) : GLSurfaceView.Renderer, AutoCloseable { @@ -85,11 +82,11 @@ private class LWERenderer(val activity: Activity) : GLSurfaceView.Renderer, Auto lweCore = null } - override fun onSurfaceCreated(p0: GL10?, p1: EGLConfig?) { - Log.d(TAG, "onSurfaceCreated") - } + override fun onSurfaceCreated(gl: GL10?, config: javax.microedition.khronos.egl.EGLConfig?) { + Log.d(TAG, "onSurfaceCreated") + } - override fun onSurfaceChanged(p0: GL10?, width: Int, height: Int) { + override fun onSurfaceChanged(p0: GL10?, width: Int, height: Int) { Log.d(TAG, "onSurfaceChanged") this.width = width this.height = height