PeterTh / dsfix

Interceptor dll for the improvement of Dark Souls PC
GNU General Public License v3.0
346 stars 58 forks source link

Make SMAA trace macros work also without UNICODE #35

Open niligulmohar opened 7 years ago

niligulmohar commented 7 years ago

The V and V_RETURN macros in SMAA.cpp call DXTrace whose implementation and fourth argument type depends on wether UNICODE is defined during the build. The macros as written assume that UNICODE is defined.

This change makes the macro work wether UNICODE is defined or not.