8000 desktop/window: use Retina-aware/scaled framebuffer when needed · Issue #1470 · cogentcore/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
desktop/window: use Retina-aware/scaled framebuffer when needed #1470
Open
@AnyCPU

Description

@AnyCPU

Describe the bug

Let's just use GLFW_SCALE_FRAMEBUFFER (added in GLFW 3.4) when needed.

It has the same effect as GLFW_COCOA_RETINA_FRAMEBUFFER .

So we can use the GLFW_COCOA_RETINA_FRAMEBUFFER for now.

Ref: https://www.glfw.org/docs/latest/window_guide.html

How to reproduce

Change content scale.

Example code

Relevant output

Platform

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0