hedgewars/SDLh.pas
changeset 7167 0b3b306f129a
parent 7049 35d762458d66
child 7180 53ffc8853008
child 7191 9419294e5f33
--- a/hedgewars/SDLh.pas	Sat Jun 02 16:25:13 2012 -0400
+++ b/hedgewars/SDLh.pas	Sat Jun 02 22:31:41 2012 +0200
@@ -968,6 +968,10 @@
 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
 {$ENDIF}
 
+{$IFDEF ANDROID}
+function Android_JNI_getDensity(): Single; cdecl; external SDLLibName;
+{$ENDIF}
+
 {* Compatibility between SDL-1.2 and SDL-1.3 *}
 procedure SDL_WarpMouse(x, y: Word); {$IFDEF SDL13}inline{$ELSE}cdecl; external SDLLibName{$ENDIF};
 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};