Skip to content
Permalink
Browse files

Android: remove SURFACE_TYPE_GPU, deprecated in API level 5.

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 911f1d3e67ea1237ea7ceba38047558869bb129b
Showing with 0 additions and 1 deletion.
  1. +0 −1 android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
@@ -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

0 comments on commit 911f1d3

Please sign in to comment.