s/_slang_link2/_slang_link/

This commit is contained in:
Brian
2007-02-16 09:56:19 -07:00
parent 1c1a0a23d3
commit c177191804
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -832,7 +832,7 @@ _mesa_link_program(GLcontext *ctx, GLuint program)
return;
}
_slang_link2(ctx, program, shProg);
_slang_link(ctx, program, shProg);
}
+6 -6
View File
@@ -2,7 +2,7 @@
* Mesa 3-D graphics library
* Version: 6.5.3
*
* Copyright (C) 2006 Brian Paul All Rights Reserved.
* Copyright (C) 2007 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
*/
/**
* \file slang_link2.c
* \file slang_link.c
* GLSL linker
* \author Brian Paul
*/
@@ -506,9 +506,9 @@ fragment_program(struct gl_program *prog)
* varying storage locations.
*/
void
_slang_link2(GLcontext *ctx,
GLhandleARB programObj,
struct gl_shader_program *shProg)
_slang_link(GLcontext *ctx,
GLhandleARB programObj,
struct gl_shader_program *shProg)
{
const struct gl_vertex_program *vertProg;
const struct gl_fragment_program *fragProg;
@@ -530,7 +530,7 @@ _slang_link2(GLcontext *ctx,
else if (shProg->Shaders[i]->Type == GL_FRAGMENT_SHADER)
fragProg = fragment_program(shProg->Shaders[i]->Programs[0]);
else
_mesa_problem(ctx, "unexpected shader target in slang_link2()");
_mesa_problem(ctx, "unexpected shader target in slang_link()");
}
#if 00
if (!vertProg || !fragProg) {
+2 -2
View File
@@ -29,8 +29,8 @@
extern void
_slang_link2(GLcontext *ctx, GLhandleARB h,
struct gl_shader_program *shProg);
_slang_link(GLcontext *ctx, GLhandleARB h,
struct gl_shader_program *shProg);
extern void
_slang_resolve_samplers(struct gl_shader_program *shProg,