File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/src/org/renpy/android Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 2323import javax .microedition .khronos .egl .EGLContext ;
2424import javax .microedition .khronos .egl .EGLDisplay ;
2525import javax .microedition .khronos .egl .EGLSurface ;
26- import javax .microedition .khronos .opengles .GL ;
2726import javax .microedition .khronos .opengles .GL10 ;
2827import android .opengl .GLES20 ;
2928import android .opengl .Matrix ;
3029
3130import android .app .Activity ;
3231import android .content .Context ;
3332import android .content .pm .ActivityInfo ;
34- import android .util .AttributeSet ;
3533import android .util .Log ;
3634import android .view .SurfaceHolder ;
3735import android .view .SurfaceView ;
3836import android .opengl .GLSurfaceView ;
3937import android .view .MotionEvent ;
4038import android .view .KeyEvent ;
41- import android .os .Build ;
4239import android .os .PowerManager ;
4340
4441import java .io .IOException ;
@@ -631,6 +628,7 @@ private void waitForStart() {
631628 Bitmap bitmap = null ;
632629 try {
633630 bitmap = BitmapFactory .decodeStream (is );
631+ bitmap = bitmap .copy (Bitmap .Config .ARGB_8888 , false );
634632 } finally {
635633 try {
636634 is .close ();
You can’t perform that action at this time.
0 commit comments