Skip to content

OpenGL 3 context sharing is broken #631

Open
@lochnessdragon

Description

@lochnessdragon

I'm trying to use NanoVG to render to multiple windows whilst sharing the same OpenGL context to resolve the reasons outlined in Issue #379. However, since the OpenGL 3 implementation uses VAOs, this breaks rendering on the second window.

Expected:

  • I'd expect both windows to render the content correctly.

Actual:

  • The second window doesn't render anything and the error 0x000501 after tex paint tex is printed to the console.

To recreate:

  • Create a window with an OpenGL3 context
  • Create an OpenGL 3 NanoVG object
  • Create a second window w/ a shared context
  • Render something to both windows

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