SDL2Config.cmake
author Mark Callow <libsdl.org@callow.im>
Wed, 21 Feb 2018 09:58:21 -0800
changeset 11886 27d81cb6e6af
parent 11210 c92070a96da5
permissions -rw-r--r--
Fix high-dpi support on macOS and simplify it and iOS variant.

The detault drawableSize for a CAMetalLayer is its bounds x its scale.
So it is sufficient to set the *layer's* scale to the desired value.
slouken@11210
     1
include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")