Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Known Issue for SFML 2.5.1 built on arm64 platform #2

@charmhe

Description

@charmhe

Platform: Mac M1
SFML ver: 2.5.1

When building SMFL 2.5.1 from source code on the arm64 platform (Mac M1, as I used), there are two issues due to the change of constructors.

In MainMenu::initWindow:

const sf::VideoMode videoMode = sf::VideoMode(800, 600);
const sf::Uint32 style = sf::Style::Close | sf::Style::Titlebar;

to

const sf::VideoMode videoMode = sf::VideoMode(sf::Vector2u(800, 600), 32);
const std::uint32_t style = sf::Style::Close | sf::Style::Titlebar;

Similar to in the Game.cpp.

Cheers,
Cha

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