mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
mesa: fix stand-alone glslcompiler build
This commit is contained in:
parent
0cade4de4f
commit
1100866aa1
1 changed files with 2 additions and 6 deletions
|
|
@ -226,12 +226,8 @@ PrintShaderInstructions(GLuint shader, FILE *f)
|
|||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
struct gl_shader *sh = _mesa_lookup_shader(ctx, shader);
|
||||
GLuint i;
|
||||
|
||||
for (i = 0; i < sh->NumPrograms; i++) {
|
||||
struct gl_program *prog = sh->Programs[i];
|
||||
_mesa_print_program_opt(prog, Options.Mode, Options.LineNumbers);
|
||||
}
|
||||
struct gl_program *prog = sh->Program;
|
||||
_mesa_print_program_opt(prog, Options.Mode, Options.LineNumbers);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue