Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/shader/program.jl - early call to glUseProgram causes GL_INVALID_OPERATION #109

Open
karna48 opened this issue Apr 19, 2024 · 0 comments

Comments

@karna48
Copy link

karna48 commented Apr 19, 2024

I was trying to use NVIDIA Nsight Gaphics to debug my appliaction and I discovered that function Program calls glUseProgram right after glCreateProrgam which sets the error on GL_INVALID_OPERATION.

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glUseProgram.xhtml
GL_INVALID_OPERATION is generated if program could not be made part of current state.

I think ti means glUseProgram can be only done with a fully linked program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant