Skip to content

Player::getScreenResolution() behave differently among platforms #433

Open
@libavgIssueImporter

Description

this ticket is transfered from former bug tracking system

Display::queryScreenResolution is Based on SDL_getVideoInfo() under OSX and Windows, and reimplemented under X11.

The resolution returned by SDL_getVideoInfo() might differ before and after Player.play():

  • before: desktop resolution
  • after: resolution set via SDL_SetVideoMode

If a libavg app starts in window mode, the resolution of the screen won't change, but under Windows and OSX getScreenResolution would return the dimension of the window, while under X11 the resolution of the screen


author: oxullo
created: 2013/07/04 00:23:27 +0200
assigned to: None
priority: Normal
project: libavg

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions