Skip to content

glCreateShader call fails with v3.0.2 #278

@9prady9

Description

@9prady9

I am facing an issue while porting forge visulization library from 2.* version to 3.0.2. I was able to fix the compilation issues, at least I thought so until I saw the runtime issues.

I initially thought it might be due to GetProcAddress I am passing, but I think I am doing it correctly - since the context relevant is current when I call Binding::initialize.

Please have a look at the changes I made to forge at arrayfire/forge#184 The code compiles fine but the glCreateShader calls return 0 always at runtime. Can you please suggest what I might be missing in the migration from 2.* to 3.0.

Thank you,
Pradeep.

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