Archived

This topic is now archived and is closed to further replies.

Opengl-shading-language-100

This topic is 5018 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok i have a question. If i want to use an extension, i have to check if my graphicscard does support this extension then i need functionpointers to use the new functions. My question is: Do i need to have for every new funtion which is provided by the vertex_shader-and fragment_shader a pointer. There are so many new functions i cannot believe that this is the only way to use OpenGLSL.

Share this post


Link to post
Share on other sites
in linux/bsd you can staticaly link against libGL.so...
simply append -DGL_GLEXT_PROTOTYPES to your precompiler flags and include GL/glext.h

on windows you''ll have to use functionpointers...

Share this post


Link to post
Share on other sites