From 521e435d5d63fc76097e6667ba5ef9bcd1393a7b Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期二, 25 四月 2017 16:35:32 +0800 Subject: [PATCH] bug fix --- VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java b/VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java index 47f361c..60ac5e3 100644 --- a/VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java +++ b/VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java @@ -48,6 +48,7 @@ private void init() { setEGLContextClientVersion(2); + super.setEGLConfigChooser(8 , 8, 8, 8, 16, 0); mRenderer = new MyRenderer(); setRenderer(mRenderer); Log.i("@@@", "setrenderer"); -- Gitblit v1.8.0