mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
Hopefully fixed the whole plugin mess I started
This commit is contained in:
@@ -11,13 +11,8 @@
|
||||
|
||||
#define IMHEX_PLUGIN_SETUP namespace hex::plugin { void setup(); } \
|
||||
namespace hex::plugin::internal { \
|
||||
void initializePlugin(SharedData &sharedData) { \
|
||||
if (glGetString == NULL) \
|
||||
gladLoadGL(); \
|
||||
SharedData::get().initializeData(sharedData); \
|
||||
ImGui::SetCurrentContext(*sharedData.imguiContext); \
|
||||
void initializePlugin() { \
|
||||
hex::plugin::setup(); \
|
||||
\
|
||||
} \
|
||||
} \
|
||||
void hex::plugin::setup()
|
||||
|
||||
Reference in New Issue
Block a user