Skip to content

Windows high DPI scaling on certain hosts (Live) causes incorrect GL viewport #6

@jthorborg

Description

@jthorborg

This only happens on initial attachment. Any further resizing of active context fixes the issue. glViewPort is correctly (?) called with DPI scaled coordinates,

Image

It's possibly something about per-thread scale awareness:
https://stackoverflow.com/questions/47049651/opengl-and-windows-10-per-monitor-aware-dpi-scaling

Also note that JUCE in december of 2025 recently changed a range of stuff related to DPI and windows, maybe it will just be fixed automatically later.

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