From b5b8d22c4ee921dff99b898a5907023b20670a27 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 27 Nov 2004 20:07:08 +0000 Subject: Change the dispatch offsets for the VertexAttrib*NV functions so they don't alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct. --- src/mesa/swrast/s_lines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_lines.c') diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c index 4d9fe58920..a5a612335e 100644 --- a/src/mesa/swrast/s_lines.c +++ b/src/mesa/swrast/s_lines.c @@ -258,7 +258,7 @@ _mesa_print_line_function(GLcontext *ctx) else if (swrast->Line == multitextured_line) _mesa_printf("multitextured_line\n"); else - _mesa_printf("Driver func %p\n", (void *) swrast->Line); + _mesa_printf("Driver func %p\n", (void *(*)()) swrast->Line); } #endif -- cgit v1.2.3