Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Setting fontGlobalScale in Options causes error #72

@felixfaire

Description

@felixfaire

Trying to set the font scale in the initialisation options causes an error.

ui::initialize( ui::Options().fontGlobalScale( getWindowContentScale() ) );

results in:

Assertion failed: (GImGui != __null && "No current context. Did you call ImGui::CreateContext() or ImGui::SetCurrentContext()?"), function GetIO, file /Users/felixfaire/Developer/Cinder-0.9/Cinder/blocks/Cinder-ImGui/lib/imgui/imgui.cpp, line 2638.

in GetIO()

Most other options seem to be ok.

Macbook pro, macos Mojave.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions