|
⇤ ← Revision 1 as of 2014-02-15 22:09:04
Size: 1342
Comment: Created page using content from SDL_hints.h.
|
Size: 1199
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.
