| Summary: | SDL_GetDisplayDPI for OS X | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Kirill Dmitrenko <kdmitrenko> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus, kdmitrenko |
| Version: | 2.0.4 | ||
| Hardware: | x86 | ||
| OS: | Mac OS X (All) | ||
| Attachments: |
sdl-cocoa-dpi.patch
sdl-cocoa-dpi.patch sdl-cocoa-dpi.patch |
||
Created attachment 2357 [details]
sdl-cocoa-dpi.patch
Reattached patch as, em, a patch :)
Created attachment 2358 [details]
sdl-cocoa-dpi.patch
Removed forgotten include (it was added for debug).
(In reply to Kirill Dmitrenko from comment #2) > Removed forgotten include (it was added for debug). This patch is now https://hg.libsdl.org/SDL/rev/2bab6f8d403e, thanks! --ryan. |
Created attachment 2356 [details] sdl-cocoa-dpi.patch It wasn't implemented. I took a look on X11 implementation and made something similar for Cocoa. Patch's attached. I've also added the function to tests, but wasn't able to check it since I wasn't able to build the tests.