gl
gl copied to clipboard
Init doesnt load glActiveTexture
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!
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.
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.