View Full Version : ATI RADEON fragment shaders

Jens Krüger
11-26-2001, 11:15 PM
Hi NG!

Has anybody of you ever writen an aaplication using the GL_ATI_fragment_shader extension?

I'm asking because I can not make my VC++ compiler compile the program. I always get a

[..] Error C2065: 'glGenFragmentShadersATI' : undeclared identifier [..]

error. I am including the glATI.h and wglATI.h header Files. This inclusion seems to work since calls like "glGetIntegerv(GL_NUM_FRAGMENT_REGISTERS_ATI,&num_frag_reg); " work fine.

I am using a RADEON 8500 on windows XP and VC++ 6 SP5. Driver R200 Version =

Can anyone help me?

- Jens

11-27-2001, 12:51 AM
You have to use wglGetProcAddress for new functions. Take a look at this article: http://www.opengl.org/developers/code/features/OGLextensions/OGLextensions.html


Jens Krüger
11-27-2001, 07:24 AM
Cool, that worked for me, thanks ...