Wiki Page Content

DRAFT

SDL_HINT_VIDEO_HIGHDPI_DISABLED

A hint that specifies if high-DPI windows ("Retina" on Mac and iOS) are not allowed.

Values

0

allow high-DPI windows

1

do not allow high-DPI windows

Default

By default high-DPI windows ("Retina" on Mac and iOS) are allowed.

Code Examples

You can add your code example here

Remarks

On Apple's OS X you must set the NSHighResolutionCapable Info.plist property to YES, otherwise you will not receive a High DPI OpenGL display.

The hint is supported for iOS since SDL 2.0.4.

Version

This hint is available since SDL 2.0.1.


CategoryDefine, CategoryHints

None: SDL_HINT_VIDEO_HIGHDPI_DISABLED (last edited 2015-04-26 20:04:00 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit