FORCEINLINE is not a _WIN32 thing It is a compiler attribute use always_inline for GCC __forceinline for MSVC and plain inline for others
Build Win32 BuilderNative.dll with Mingw-w64
Avoid copying by passing matrices by reference to RenderDevice Use fasttrig from GZDoom for faster cos/sin Don't set matrices unless they changed. Even though the memcmp prevents it from being pushed to OpenGL it is still a waste.