mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-20 07:24:42 +00:00
Discard the alpha channel of the surface since it's not used. Always use MED_PERF for the AvcDecoder configuration because it now works well enough on Tegra 3 that the image quality improvements are worth it.
This commit is contained in:
1 parent
45664dac2a
commit
ab9b7b5164
2 files changed
+2
-2
No files matched your search
@@ -59,7 +59,7 @@ public class Game extends Activity implements OnGenericMotionListener, OnTouchLi
|
||||
sv.setOnTouchListener(this);
|
||||
SurfaceHolder sh = sv.getHolder();
|
||||
sh.setFixedSize(1280, 720);
|
||||
sh.setFormat(PixelFormat.RGBA_8888);
|
||||
sh.setFormat(PixelFormat.RGBX_8888);
|
||||
|
||||
// Start the connection
|
||||
conn = new NvConnection(Game.this.getIntent().getStringExtra("host"), Game.this, sv.getHolder().getSurface());
|
||||
|
||||
Reference in new issue
Block a user