hedgewars/SDLh.pas
changeset 7169 b66eef8c8092
parent 7167 0b3b306f129a
child 7180 53ffc8853008
child 7191 9419294e5f33
--- a/hedgewars/SDLh.pas	Sat Jun 02 14:27:09 2012 +0200
+++ b/hedgewars/SDLh.pas	Sat Jun 02 22:54:09 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};