Procházet zdrojové kódy

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 před 9 roky
rodič
revize
68b3b5423e

+ 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) {