SFML/imgui-sfml

Update demo code in README

Lecrapouille opened this issue · 2 comments

Hi, in

ImGui::ShowDemoWindow();

The new way is:

    bool show = true;
    ImGui::ShowDemoWindow(&show);

There's nothing wrong with the current code. The default argument to this function is NULL:

IMGUI_API void          ShowDemoWindow(bool* p_open = NULL);

@Trider12 ah ok sorry it seemed I was not been able to compile on my side (I'm using the docker branch). I have to check it back