Skip to content

Install resize callback for SDL2 interactor in AddEventHandler

When C++ application does not use a main function, but instead runs the interactor event loop in a general C++ static/member function, it is recommended to call iren->AddEventHandler instead of iren->Start. When used this way, window resizes did not work because the resize callback was not installed.

Edited by Jaswant Panchumarti (Kitware)

Merge request reports