Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 212511
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +3 lines)
Line  Link Here
0
-- src/mesa/shader/arbprogram.c
0
++ src/mesa/shader/arbprogram.c
Lines 229-235 _mesa_ProgramStringARB(GLenum target, GL Link Here
229
      struct gl_vertex_program *prog = ctx->VertexProgram.Current;
229
      struct gl_vertex_program *prog = ctx->VertexProgram.Current;
230
      _mesa_parse_arb_vertex_program(ctx, target, string, len, prog);
230
      _mesa_parse_arb_vertex_program(ctx, target, string, len, prog);
231
      
231
      
232
      if (ctx->Driver.ProgramStringNotify)
232
      if (ctx->Program.ErrorPos == -1 && ctx->Driver.ProgramStringNotify)
233
	 ctx->Driver.ProgramStringNotify( ctx, target, &prog->Base );
233
	 ctx->Driver.ProgramStringNotify( ctx, target, &prog->Base );
234
   }
234
   }
235
   else if (target == GL_FRAGMENT_PROGRAM_ARB
235
   else if (target == GL_FRAGMENT_PROGRAM_ARB
Lines 237-243 _mesa_ProgramStringARB(GLenum target, GL Link Here
237
      struct gl_fragment_program *prog = ctx->FragmentProgram.Current;
237
      struct gl_fragment_program *prog = ctx->FragmentProgram.Current;
238
      _mesa_parse_arb_fragment_program(ctx, target, string, len, prog);
238
      _mesa_parse_arb_fragment_program(ctx, target, string, len, prog);
239
239
240
      if (ctx->Driver.ProgramStringNotify)
240
      if (ctx->Program.ErrorPos == -1 && ctx->Driver.ProgramStringNotify)
241
	 ctx->Driver.ProgramStringNotify( ctx, target, &prog->Base );
241
	 ctx->Driver.ProgramStringNotify( ctx, target, &prog->Base );
242
   }
242
   }
243
   else {
243
   else {

Return to bug 212511