Andreas Kirsch

Show:

What's happening?

  • Comment: glBindFragDataLocation == 0

    __glewBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC) wglGetProcAddress( "glBindFragDataLocation" ); if you add this to your code, it starts working. Somehow the variable isn't initialized.

    2009-08-25 08:28:52 UTC in The OpenGL Extension Wrangler Library

  • TransformFeedback callbacks in GL3.0 not initialized

    I have to use the following code in my project, to make the transform feedback functions (as declared in OGL. 3.0) work. Without I get an access violation, because the function pointers apparently arent initialized. void fixGLEW() { // GLEW fucks up here somehow even though other GL 3.0 functions are loaded correctly __glewTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC...

    2009-08-20 00:36:07 UTC in The OpenGL Extension Wrangler Library

  • TransformFeedbackVaryings parameter mismatch (GL 3)

    The GL 3.0 specs declares glTransformFeedbackVaryings as: void TransformFeedbackVaryings( uint program, sizei count, const char **varyings, enum bufferMode ); glew declares the function callbackdecla as: typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint, GLsizei, const GLint*, GLenum); This is wrong, the third parameter needs to be const GLchar** The NVidia...

    2009-08-06 13:44:46 UTC in The OpenGL Extension Wrangler Library

About Me

  • 2002-09-12 (7 years ago)
  • 610224
  • blackhc (My Site)
  • Andreas Kirsch

Send me a message