quakeforge/libs/video/renderer/glsl
Bill Currie e69a583f1b Work around a bug in mesa.
Since I'm not specifying the api when creating my context, mesa is giving
me GL2. This is fair enough, but in GL2, vertex attribute 0 is the vertex
position. This too, is fair enough. The problem is, mesa is assigning 0 to
my vcolor attribute and thus I can't set it. The work around is simply to
swap the declaration order of vcolor and vertex (this really shouldn't work
eiter, I suspect).
2011-12-28 20:43:56 +09:00
..
glsl_draw.c Add support for vertex colors. 2011-12-28 09:04:26 +09:00
glsl_main.c Make a clean break heading for GLES compatibility. 2011-12-26 16:08:55 +09:00
glsl_particles.c Make a clean break heading for GLES compatibility. 2011-12-26 16:08:55 +09:00
glsl_screen.c Bring in Despair's gl error checking from the gl renderer. 2011-12-28 09:05:36 +09:00
glsl_textures.c First real texture support function for glsl. 2011-12-26 18:34:51 +09:00
Makefile.am Implement most of the 2d rendering functions. 2011-12-26 20:33:40 +09:00
quake2d.frag Add support for vertex colors. 2011-12-28 09:04:26 +09:00
quakeico.vert Work around a bug in mesa. 2011-12-28 20:43:56 +09:00
quaketxt.vert Add support for vertex colors. 2011-12-28 09:04:26 +09:00