obs-text: Fix call type for GDIObj helper class

The call type for the deleter function used with the GDIObj helper class
is __stdcall.  Without it, it'll fail to build in 32bit properly.
This commit is contained in:
jp9000
2016-09-15 04:52:22 -07:00
parent 6b2862fe1e
commit 1bbe152a55

View File

@@ -128,7 +128,7 @@ static inline uint32_t rgb_to_bgr(uint32_t rgb)
/* ------------------------------------------------------------------------- */
template<typename T, typename T2, BOOL deleter(T2)> class GDIObj {
template<typename T, typename T2, BOOL WINAPI deleter(T2)> class GDIObj {
T obj = nullptr;
inline GDIObj &Replace(T obj_)