SDL2Config.cmake
author Jay Petacat <jay@jayschwa.net>
Sun, 22 Mar 2020 20:09:14 -0400
changeset 13667 daed33b4f74a
parent 11210 c92070a96da5
permissions -rw-r--r--
Do not overwrite window surface created by driver

If a driver's implementation of CreateWindowFramebuffer sets the window
surface, use that rather than overwriting it. A driver may set the window
surface if data cannot be passed via the CreateWindowFramebuffer output
parameters (e.g. surface palette colors).
     1 include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")