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

Fix GL InvalidEnum error #23

Merged
merged 2 commits into from
Jun 30, 2022
Merged

Commits on Jun 30, 2022

  1. Fix GL InvalidEnum error

    GL.ActiveTexture(0); generates a GL_INVALID_ENUM if not used with TextureUnit.Texture0
    
    See Errors section :
    https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glActiveTexture.xhtml
    AntoineGagnon1 committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    8a51d98 View commit details
    Browse the repository at this point in the history
  2. Invalid Enum error

    This was causing an invalid enum error from opengl.
    I think that GetPName.TextureBinding2D is the intented enum value ? It fixed the error.
    AntoineGagnon1 committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    3dc998a View commit details
    Browse the repository at this point in the history