|
Size: 1207
Comment: Added Apple for easier search.
|
← Revision 4 as of 2015-04-26 20:04:00 ⇥
Size: 1271
Comment: Updated with content from header file and added remark.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 9: | Line 9: |
| A hint that specifies if high-DPI windows ("Retina" on Mac) are not allowed. | A hint that specifies if high-DPI windows ("Retina" on Mac and iOS) are not allowed. |
| Line 21: | Line 21: |
| By default high-DPI windows ("Retina" on Mac) are allowed. | By default high-DPI windows ("Retina" on Mac and iOS) are allowed. |
| Line 35: | Line 35: |
| The hint is supported for iOS since SDL 2.0.4. |
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.
