project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SDLActivity.java
changeset 7449 2e63537b44f3
parent 7334 66a10ae88457
child 7476 2fb781bbdd51
equal deleted inserted replaced
7444:2e31f114f57e 7449:2e63537b44f3
   412 /**
   412 /**
   413     Simple nativeInit() runnable
   413     Simple nativeInit() runnable
   414  */
   414  */
   415 class SDLMain implements Runnable {
   415 class SDLMain implements Runnable {
   416 
   416 
   417 	private int surfaceWidth, surfaceHeight;
   417 	private final int surfaceWidth, surfaceHeight;
   418 	private GameConfig config;
   418 	private final GameConfig config;
   419 
   419 
   420 	public SDLMain(int width, int height, GameConfig _config) {
   420 	public SDLMain(int width, int height, GameConfig _config) {
   421 		config = _config;
   421 		config = _config;
   422 		surfaceWidth = width;
   422 		surfaceWidth = width;
   423 		surfaceHeight = height;
   423 		surfaceHeight = height;