finish buggy dx11 code
This commit is contained in:
@@ -39,6 +39,13 @@ namespace Basalt::Presenter {
|
||||
auto fct = (Fct) GetFunctionPointer(EXPOSE_FUNC_NAME);
|
||||
return fct();
|
||||
}
|
||||
template<typename T>
|
||||
void DestroyInstance(T* instance) {
|
||||
using Fct = void (*) (T*);
|
||||
constexpr char EXPOSE_FUNC_NAME[] = "BSDestroyInstance";
|
||||
auto fct = (Fct) GetFunctionPointer(EXPOSE_FUNC_NAME);
|
||||
fct(instance);
|
||||
}
|
||||
|
||||
private:
|
||||
Handle m_Handle;
|
||||
|
||||
Reference in New Issue
Block a user