not doing mingw-w64 lto builds anymore
fix msvc build
update api, remove extern C
fix crash with no rift
draw images directly, without pixmaps