Skip to content

gl.GenTextures #80

Open
Open
@Konstantin8105

Description

@Konstantin8105

Hello,
In according to that line we create the texture

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions