Home | History | Annotate | Download | only in tnl

Lines Matching refs:ctx

42 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx )
44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current;
46 if (!ctx->VertexProgram._Current ||
47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
48 ctx->VertexProgram._Current
49 = ctx->VertexProgram._TnlProgram
50 = _mesa_get_fixed_func_vertex_program(ctx);
56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) {
57 ctx->Driver.BindProgram(ctx, GL_VERTEX_PROGRAM_ARB,
58 (struct gl_program *) ctx->VertexProgram._Current);