Skip to content

OnResize() is not using FramebufferSize property #93

Open
@DigitalBox98

Description

The current samples are not handling correctly the resizing of the window :

Capture d’écran 2024-02-26 à 18 45 15

Current code :
GL.Viewport(0, 0, Size.X, Size.Y);

Proposal for fix :
Vector2i fb = this.FramebufferSize;
GL.Viewport(0, 0, fb.X, fb.Y);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions