Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2014-02-15 22:09:04
Size: 1342
Comment: Created page using content from SDL_hints.h.
Revision 2 as of 2015-01-03 17:42:03
Size: 1199
Editor: urkle
Comment: Added note about info plist property
Deletions are marked like this. Additions are marked like this.
Line 33: Line 33:
''You can add useful comments here''

##Leave this section as-is unless you have a remark to put in. In that case, replace ''You can add useful comments here'' with your remark(s) following the Style Guide instructions. Leave the rest of the markup alone and delete this comment.
On OS X you '''must''' set the NSHighResolutionCapable Info.plist property to YES, otherwise you will not receive a High DPI OpenGL display.

DRAFT

SDL_HINT_VIDEO_HIGHDPI_DISABLED

A hint that specifies if high-DPI windows ("Retina" on Mac) 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) are allowed.

Code Examples

You can add your code example here

Remarks

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

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)

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