Skip to content

Emscripten scaling issue in Examples in 1.92.0  #8733

@ypujante

Description

@ypujante

Version/Branch of Dear ImGui:

Version 1.92.0 / Master

Back-ends:

example_glfw_opengl3

Compiler, OS:

Emscripten (4.0.10)

Full config/build information:

Copy to clipboard does not work with -sUSE_GFWL=3 so I cannot copy the full build config

But I am just building example_glfw_opengl3 using 1.92.0 and Emscripten 4.0.10

Details:

Build example_glfw_opengl3 using 1.92.0 (the command used is make -f Makefile.emscripten serve from the folder).

I printed the main_scale variable and it is right (macOS / Retina display)

main_scale=2.000000

The result is that everything is double in size instead of being Hi Res.

Note that it is the same issue with example_sdl2_opengl3

Image

Left is correct (before 1.92.0). Right is incorrect (1.92.0)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions