Don't explicitly specify a pixel format for the rendering surface. The system will choose the most optimal format if we leave it at the default.

This commit is contained in:
Cameron Gutman 2014-03-17 12:34:47 -04:00
parent f31736ee2d
commit 07b5e9224c

View File

@ -91,7 +91,6 @@ public class Game extends Activity implements OnGenericMotionListener, OnTouchLi
sv.setOnTouchListener(this);
SurfaceHolder sh = sv.getHolder();
sh.setFormat(PixelFormat.RGBX_8888);
// Start the spinner
spinner = SpinnerDialog.displayDialog(this, "Establishing Connection", "Starting connection", true);