Skip to content

Commit

Permalink
Android: remove SURFACE_TYPE_GPU, deprecated in API level 5.
Browse files Browse the repository at this point in the history
https://developer.android.com/reference/android/view/SurfaceHolder

This constant was deprecated in API level 5. this is ignored, this value is set automatically when needed.
  • Loading branch information
1bsyl committed Jan 5, 2019
1 parent e4f558a commit 911f1d3
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -1582,7 +1582,6 @@ public Surface getNativeSurface() {
@Override
public void surfaceCreated(SurfaceHolder holder) {
Log.v("SDL", "surfaceCreated()");
holder.setType(SurfaceHolder.SURFACE_TYPE_GPU);
}

// Called when we lose the surface
Expand Down

0 comments on commit 911f1d3

Please sign in to comment.