Rebzzel / kiero

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

Define the defaults only if they are not defined already #8

Closed jonashouben closed 4 years ago

jonashouben commented 4 years ago

This PR modifies the Header File to only define the default values for the hooks, if they are not defined already. I have also updated the README accordingly to the changes.

This allows you to define the needed hooks before including the Header file, and without modifying the Header file itself (i.e. not causing git changes, so you can include it as a submodule cleanly).

Rebzzel commented 4 years ago

I don't see much point in it. The current solution is small and user friendly.