diff --git a/build.gradle b/build.gradle index fbf0b6204..a388b398e 100644 --- a/build.gradle +++ b/build.gradle @@ -55,7 +55,7 @@ task clean(type: Delete) { ext { IS_PUBLISH_LOCAL=true LIB_VERSION="1.0.6" -// AGORA_RTC_SDK="io.agora.rtc:agora-special-full:4.1.1.28" + AGORA_RTC_SDK= 'io.agora.rtc:agora-special-full:4.1.1.28' // AGORA_RTC_SDK= "${rootProject.rootDir.absolutePath}/sdk" - AGORA_RTC_SDK="io.agora.rtc:full-sdk:4.2.6" +// AGORA_RTC_SDK="io.agora.rtc:full-sdk:4.2.6" } diff --git a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/utils/egl/GLFrameBuffer.java b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/utils/egl/GLFrameBuffer.java index e7588a7e6..ff8495f5a 100644 --- a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/utils/egl/GLFrameBuffer.java +++ b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/utils/egl/GLFrameBuffer.java @@ -115,9 +115,10 @@ public class GLFrameBuffer { synchronized (EglBase.lock){ if(textureType == GLES11Ext.GL_TEXTURE_EXTERNAL_OES){ - drawer.drawOes(textureId, matrix, mWidth, mHeight, 0, 0, mWidth, mHeight); + drawer.drawOes(textureId,0, matrix, mWidth, mHeight, 0, 0, mWidth, mHeight); + }else{ - drawer.drawRgb(textureId, matrix, mWidth, mHeight, 0, 0, mWidth, mHeight); + drawer.drawRgb(textureId,0, matrix, mWidth, mHeight, 0, 0, mWidth, mHeight); } }