Skip to content

Starting a thread resets window handle #1429

@blayms

Description

@blayms

I'm creating some textures on a thread.
When I start that "Texture creation" thread, window handle becomes 0 and get this exception on Texture ctor:

Silk.NET.GLFW.GlfwException: 'NoContext: Cannot query entry point without a current OpenGL or OpenGL ES context'

From what I know this is not the bug or anything like that. Most likely I need to implement multithreading in OpenGL, but idk how
Sorry if this question is stupid, but it's 04:45 AM, so I have no other choice

Any ways to fix it? I can't really find anyone experiencing this using Silk.NET

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions