see: * https://github.com/ultralight-ux/Ultralight/blob/208d653e872b29234bbd4a5fef6dec403f3dfdbd/samples/Sample%207%20-%20OpenGL%20Integration/src/Window.cpp#L39 * https://gist.github.com/matias-eduardo/7804347beae42a62393db1c38f46c70d