You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is fixed in the latest version (1.1), App::Create() now allows you to pass Config and Settings directly.
/// Create the App singleton.
///
/// @param settings Settings to customize App runtime behavior.
///
/// @param config Config options for the Ultralight renderer.
///
/// @return Returns a ref-pointer to the created App instance.
///
/// @note You should only create one of these per application lifetime.
///
/// @note Certain Config options may be overridden during App creation,
/// most commonly Config::face_winding and Config::device_scale_hint.
///
static Ref<App> Create(Settings settings = Settings(), Config config = Config());
This is copy of ultralight-ux/AppCore#2.
Ref Create() comments say that one should "set your Config before creating App".
https://github.com/ultralight-ux/AppCore/blob/0dfc7936e4ecdce4655b52dfb682ec40c080eb63/include/AppCore/App.h#L51
However, as AppWin::AppWin() constructor overrides with Platform::instance().set_config, it has no effect.
https://github.com/ultralight-ux/AppCore/blob/0dfc7936e4ecdce4655b52dfb682ec40c080eb63/src/win/AppWin.cpp#L23
For example, if I load https://google.co.kr like below,
The result is like this:
The CORRECT way to setup config is,
which leads to Chrome-like correctly rendered scene.
The text was updated successfully, but these errors were encountered: