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:
@@ -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_)
|
||||
|
Reference in New Issue
Block a user