Skip to content

Instantly share code, notes, and snippets.

View TheSpydog's full-sized avatar

Caleb Cornett TheSpydog

View GitHub Profile
=======================
SDL_uikitappdelegate.m
=======================
Add this code underneath "static int exit_status;":
typedef int (*SDL_MAIN_FUNC)(void);
static SDL_MAIN_FUNC MainFunc;
extern void SetMainFunc(SDL_MAIN_FUNC func)
@TheSpydog
TheSpydog / gist:a1e95ff953f4443dbc04f722ff281cd8
Last active October 21, 2018 14:58
Setting up FNA for UWP
YOUR APP:
- Make sure in App Properties, “Min version” must be Fall Creators Edition (16.....)
- In Package.appxmanifest, change the Entry point to <NAMESPACE>.<MAINCLASS>, not the XAML stuff.
- In fact you should get rid of all XAML Files.
FNALIBS:
For all dependencies:
- Compile in 64-bit Release mode.
- Retarget to latest build versions if necessary, but try to keep Min Windows SDK to Fall Creators Edition.
- If any project asks you to retarget, right click the SOLUTION (not the project) and click Retarget Solution.