Bump TuXiang library version to 0.1.1

This commit is contained in:
seven332 committed 2016-05-02 22:50:36 +08:00
1 parent fad9e3ccc0
commit 512fef80db
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ dependencies {
compile 'com.github.seven332:refreshlayout:0.1.0'
compile 'com.github.seven332:ripple:0.1.1'
compile 'com.github.seven332:streampipe:0.1.0'
compile 'com.github.seven332:tuxiang:0.1.0'
compile 'com.github.seven332:tuxiang:0.1.1'
compile 'com.github.seven332:unifile:0.1.3'
compile 'com.github.seven332:yorozuya-collect:0.1.2'
compile 'com.github.seven332:yorozuya-thread:0.1.0'
@@ -115,13 +115,15 @@ public class GLRootView extends GLSurfaceView
this(context, null);
}
@SuppressWarnings("deprecation")
public GLRootView(Context context, AttributeSet attrs) {
super(context, attrs);
mFlags |= FLAG_INITIALIZED;
setBackgroundDrawable(null);
setEGLContextClientVersion(2);
setEGLConfigChooser(new BestConfigChooser());
final int eglContextClientVersion = 2;
setEGLContextClientVersion(eglContextClientVersion);
setEGLConfigChooser(new BestConfigChooser(eglContextClientVersion));
setRenderer(this);
getHolder().setFormat(PixelFormat.RGB_888);