Rebzzel / kiero

Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games.
MIT License
1.01k stars 217 forks source link

Wrap D3D11CreateDeviceAndSwapChain's GetProcAddress with a "void*" typecast #51

Closed KingKrouch closed 1 year ago

KingKrouch commented 2 years ago

This seemingly fixed my problem when attempting to compile with MinGW where it will complain about an "invalid conversion from 'FARPROC' {aka 'long long int ()()'} to 'void' [-fpermissive]".