Using SDL2 WinRT with SDL2_gfx

Meldryt wrote:

update: tried to include only the header and class files in my project. it works for the emulator.
when i compile for device i get this error: SDL2_gfxPrimitives.cpp(1770): error C3861: ‘__emit’: identifier not found

Odd.

Can you compile the file a C code, rather than C++? I’m able to compile SDL2_gfxPrimitives for device/ARM, but only when compiling it as C code. When I compile as C++, I get the same error.

– David L.