Skip to content
Snippets Groups Projects
Commit 68cb5a37 authored by Leo Ma's avatar Leo Ma
Browse files

Egl context version compatibility


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent 3b7d80db
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -62,7 +62,7 @@ public class SrsCameraView extends GLSurfaceView implements GLSurfaceView.Render
public SrsCameraView(Context context, AttributeSet attrs) {
super(context, attrs);
 
setEGLContextClientVersion(3);
setEGLContextClientVersion(2);
setRenderer(this);
setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment