index 2ec24e8ce2600ab5a8ec2c744b89a8248a2c1b88..6c4c42c4e1f3e1724559d8c8d6a160eb4660962f 100644 (file)
@@ -389,6 +389,12 @@ function SDL_GetDisplayBounds(displayIndex: SInt32; rect: PSDL_Rect): SInt32 cde
function SDL_GetNumDisplayModes(displayIndex: SInt32): SInt32 cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetNumDisplayModes' {$ENDIF} {$ENDIF};
+ {**
+ * Get the dots/pixels-per-inch for a display.
+ *}
+
+function SDL_GetDisplayDPI(displayIndex: SInt32; ddpi, hdpi, vdpi: PFloat): SInt32 cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetDisplayDPI' {$ENDIF} {$ENDIF};
+
{**
* Fill in information about a specific display mode.
*