We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, In according to that line we create the texture
example/gl21-cube/cube.go
Line 82 in d71b0d9
In according to example in documentation on page https://docs.gl/gl2/glGenTextures
glGenTextures(1, &texture_id); glBindTexture(GL_TEXTURE_2D, texture_id); .... glBindTexture(GL_TEXTURE_2D, 0);
I think the last line of function shall be gl.BindTexture(GL_TEXTURE_2D, 0)
gl.BindTexture(GL_TEXTURE_2D, 0)
Thanks)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
In according to that line we create the texture
example/gl21-cube/cube.go
Line 82 in d71b0d9
In according to example in documentation on page https://docs.gl/gl2/glGenTextures
I think the last line of function shall be
gl.BindTexture(GL_TEXTURE_2D, 0)
Thanks)
The text was updated successfully, but these errors were encountered: