Skip to content

Commit

Permalink
fix abstractRunner / use HELLOIMGUI_USE_NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Apr 10, 2024
1 parent 973036b commit aa78fab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hello_imgui/internal/backend_impls/abstract_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,11 @@ void AbstractRunner::InitRenderBackendCallbacks()
}
else if (params.rendererBackendType == RendererBackendType::Null)
{
mRenderingBackendCallbacks = CreateBackendCallbacks_Null();
#ifdef HELLOIMGUI_USE_NULL
mRenderingBackendCallbacks = CreateBackendCallbacks_Null();
#else
IM_ASSERT(false && "Null backend is not available!");
#endif
}
else
{
Expand Down

0 comments on commit aa78fab

Please sign in to comment.