Skip to content

Access Violation in SwapBuffers() #43

@Johan-Sandqvist

Description

@Johan-Sandqvist

I get "Access Violation" In the last line of code below when calling glControl.SwapBuffers() from my program.
No exceptions thrown.

    public void SwapBuffers()
    {
        if (IsDesignMode)
            return;

        EnsureCreated();
        // FIXME: See [MemberNotNull] comment on EnsureCreated().
        if (_nativeWindow == null)
            throw new Exception("EnsureCreated() failed to create _nativeWindow. This is a bug.");
        _nativeWindow.Context.SwapBuffers();
    }

Looking at the comments of the code there seems to be a few known bugs.. Is this component still under development ?

Cheers /Johan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions