Skip to content

Display surface missing locking #147

Open
@veikkos

Description

@veikkos

Display surface missing locking. surface should be locked while game logic is updating the content and unlocked for rendering. It would guarantee that the pixel data pointer is valid. It happens to work without locking for now but it might break on any SDL update or on some new platform.

See SDL_LockSurface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    technicalTechnical improvement not visible for end users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions