Skip to content

当dpi不为100%时,窗口被缩放 #834

Description

@Milk-COCO

当dpi不为100%时,窗口被缩放

以Windows为例,当设置中屏幕/缩放为200%时,phira窗口被机械的缩放到了原来的200%。与之相对的,分辨率为预期的50%。

解决方案:
macroquad main函数指定开启high_dpi,在任何暴露dpi的引擎底层api中判断high_dpi为true时返回1.0。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions