All,
Proposed fix to resolve reported glTransformFeedbackVaryings
issue.
- Nigel
>> 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**
> Confirming this.
>
> In
http://www.opengl.org/registry/api/glext.h:> GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint, GLsizei, const
> GLchar* *, GLenum);
Index: auto/core/GL_VERSION_3_0
===================================================================
--- auto/core/GL_VERSION_3_0 (revision 557)
+++ auto/core/GL_VERSION_3_0 (working copy)
@@ -115,7 +115,7 @@
GLboolean glIsEnabledi (GLenum, GLuint)
void glBeginTransformFeedback (GLenum)
void glEndTransformFeedback (void)
- void glTransformFeedbackVaryings (GLuint, GLsizei, const GLint*, GLenum)
+ void glTransformFeedbackVaryings (GLuint, GLsizei, const GLchar **, GLenum)
void glGetTransformFeedbackVarying (GLuint, GLuint, GLint*)
void glClampColor (GLenum, GLenum)
void glBeginConditionalRender (GLuint, GLenum)
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
glew-users mailing list
glew-users@...
https://lists.sourceforge.net/lists/listinfo/glew-users