Permalink
Browse files

front: Ensure GameSurface is RGBA_8888 to avoid dither.

  • Loading branch information...
littleguy77 committed May 31, 2015
1 parent 763cb30 commit d6b213f9452623efeae7d0a3080b86ad8931883c
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/paulscode/android/mupen64plusae/game/GameLifecycleHandler.java
@@ -52,6 +52,7 @@
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PixelFormat;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.os.Vibrator;
@@ -208,6 +209,7 @@ public void onCreateEnd( Bundle savedInstanceState )
// Listen to game surface events (created, changed, destroyed)
mSurface.getHolder().addCallback( this );
mSurface.getHolder().setFormat( PixelFormat.RGBA_8888 );
// Update the GameSurface size
mSurface.getHolder().setFixedSize( mGlobalPrefs.videoRenderWidth, mGlobalPrefs.videoRenderHeight );

0 comments on commit d6b213f

Please sign in to comment.