-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Hello,
In according to that line we create the texture
Line 82 in d71b0d9
| gl.GenTextures(1, &texture) |
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)
Thanks)
Metadata
Metadata
Assignees
Labels
No labels