Giter Site home page Giter Site logo

Comments (3)

Zortexxx619 avatar Zortexxx619 commented on July 18, 2024 1

Okay, I figured out the issue, it was a lot simpler than I thought. I was calling glewInit() before creating a window/context with glut, which was casing it to fail to initialize. Changing the order fixes it.

from glew.

nigels-com avatar nigels-com commented on July 18, 2024

glClearTexImage is available only if the GL version is 4.4 or greater.

It is strongly recommended to check for the expected functionality.

from glew.

Zortexxx619 avatar Zortexxx619 commented on July 18, 2024

as I mentioned, my GPU supports GL 4.4. glGetString(GL_VERSION) in the code even returns 4.4.

After having looked at it and researched some more, it seems the issue actually has to do with Eclipse CDT not being able to parse the function since it's defined as a macro in glew.h, and isn't actually defined until runtime (or something along those lines.) What's happening thereafter is either the function isn't actually getting defined, or I'm using it wrong without the compiler stopping me.

Not sure if this makes it more of an Eclipse issue than a GLEW one, or if there's a way to get Eclipse to parse the functions properly.

from glew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.