Browse Source

Android: Removed empty onDraw() override method from SDLActivity.

It was redundant because SDLActivity already inherits an empty method from the
base class SurfaceView (which does not implement it but inherits it from View).
Visibility of onDraw() in SDLActivity is now protected again instead of public.
Philipp Wiesemann 10 năm trước cách đây
mục cha
commit
68b3b5423e
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      android-project/src/org/libsdl/app/SDLActivity.java

+ 0 - 5
android-project/src/org/libsdl/app/SDLActivity.java

@@ -1136,11 +1136,6 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
         }
     }
 
-    // unused
-    @Override
-    public void onDraw(Canvas canvas) {}
-
-
     // Key events
     @Override
     public boolean onKey(View  v, int keyCode, KeyEvent event) {