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

Init doesnt load glActiveTexture #152

Open
tod91 opened this issue Jul 15, 2022 · 2 comments
Open

Init doesnt load glActiveTexture #152

tod91 opened this issue Jul 15, 2022 · 2 comments

Comments

@tod91
Copy link

tod91 commented Jul 15, 2022

Hello

I'm trying to run a project on windows 10 but when I get to gl.Init() internally InitWithProcAddrFunc fails on the line where:

	gpActiveTexture = (C.GPACTIVETEXTURE)(getProcAddr("glActiveTexture"))
	if gpActiveTexture == nil {
		return errors.New("glActiveTexture")
	}

I have 4.6 opengl drivers and am using Intel(R) UHD Graphics 630 card. Any ideas why this could be occuring, Thanks!

@tod91
Copy link
Author

tod91 commented Jul 15, 2022

As additional information i tried it with version 3.0 to 4.6, when we go from > 3.3 glActiveTexture is loaded but glActiveShaderProgram fails.

@dmitshur
Copy link
Member

One simple thing to check first is that you’re calling gl.Init after creating an OpenGL context and making it current (e.g., MakeContextCurrent) as mentioned in the README.

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

2 participants