View Full Version : GLSL shader crashes program

04-25-2007, 10:46 AM
I have been working on a program which does a YUV to RGB conversion using three textures, similar to the code posted here: http://www.fourcc.org/source/YUV420P-OpenGL-GLSLang.c

I am working on a linux box with kernel version 2.6.20, and a nVidia 7xxx card.

When I go to render the quad, if I have the textures specified correctly (or as I would imagine, correctly) the program crashes when I begin drawing. If I do not set the textures, the program runs as I would imagine it should, considering the textures are not set.

Are there any ideas as to what may be happening?


04-25-2007, 11:45 AM
glGetError()probably in combination with
gluErrorString()after you setup the texture to find out if there is an error.