File tree 1 file changed +1
-3
lines changed
src/src/org/renpy/android
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 23
23
import javax .microedition .khronos .egl .EGLContext ;
24
24
import javax .microedition .khronos .egl .EGLDisplay ;
25
25
import javax .microedition .khronos .egl .EGLSurface ;
26
- import javax .microedition .khronos .opengles .GL ;
27
26
import javax .microedition .khronos .opengles .GL10 ;
28
27
import android .opengl .GLES20 ;
29
28
import android .opengl .Matrix ;
30
29
31
30
import android .app .Activity ;
32
31
import android .content .Context ;
33
32
import android .content .pm .ActivityInfo ;
34
- import android .util .AttributeSet ;
35
33
import android .util .Log ;
36
34
import android .view .SurfaceHolder ;
37
35
import android .view .SurfaceView ;
38
36
import android .opengl .GLSurfaceView ;
39
37
import android .view .MotionEvent ;
40
38
import android .view .KeyEvent ;
41
- import android .os .Build ;
42
39
import android .os .PowerManager ;
43
40
44
41
import java .io .IOException ;
@@ -631,6 +628,7 @@ private void waitForStart() {
631
628
Bitmap bitmap = null ;
632
629
try {
633
630
bitmap = BitmapFactory .decodeStream (is );
631
+ bitmap = bitmap .copy (Bitmap .Config .ARGB_8888 , false );
634
632
} finally {
635
633
try {
636
634
is .close ();
You can’t perform that action at this time.
0 commit comments