Skip to content

Commit

Permalink
fix missing arg for CreateDsMap
Browse files Browse the repository at this point in the history
  • Loading branch information
nommiin committed Nov 25, 2023
1 parent 9d0ff3d commit a9b008c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dll/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ GMEXPORT void YYExtensionInitialise(const struct YYRunnerInterface* _pFunctions,

GMFUNC(__imgui_initialize) {
g_pHandle = YYGetPtr(arg, 0);
g_KeepAlive = CreateDsMap(0);
g_KeepAlive = CreateDsMap(0, 0);
g_ImGuiContext = (ImGuiContext*)YYGetPtr(arg, 1);
double buffer_size = YYGetReal(arg, 2);
g_ImGuiInitialized = true;
Expand Down

0 comments on commit a9b008c

Please sign in to comment.