Skip to content

window.getDisplayMode breaks Renderer #2

@Freezerburn

Description

@Freezerburn

In the test.js example code, if you uncomment the window.getDisplayMode line in engine.js, all Entities are rendered in the very top left of the window. Nothing can move during the tick phase, no locations are preserved. I have no idea why this is happening. As far as I know, I'm using the API correctly to get the SDL_DisplayMode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions