Subversion Repositories eduke32

Rev

Rev 8582 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8582 Rev 8713
Line 5184... Line 5184...
5184
5184
5185
    // --------- program compiling
5185
    // --------- program compiling
5186
    if (!prprograms[programbits].handle)
5186
    if (!prprograms[programbits].handle)
5187
        polymer_compileprogram(programbits);
5187
        polymer_compileprogram(programbits);
5188
5188
5189
    useShaderProgram(prprograms[programbits].handle);
5189
    polymost_useShaderProgram(prprograms[programbits].handle);
5190
5190
5191
    // --------- bit setup
5191
    // --------- bit setup
5192
5192
5193
    texunit = 0;
5193
    texunit = 0;
5194
5194
Line 5561... Line 5561...
5561
        glDisableVertexAttribArray(prprograms[programbits].attrib_T);
5561
        glDisableVertexAttribArray(prprograms[programbits].attrib_T);
5562
        glDisableVertexAttribArray(prprograms[programbits].attrib_B);
5562
        glDisableVertexAttribArray(prprograms[programbits].attrib_B);
5563
        glDisableVertexAttribArray(prprograms[programbits].attrib_N);
5563
        glDisableVertexAttribArray(prprograms[programbits].attrib_N);
5564
    }
5564
    }
5565
5565
5566
    useShaderProgram(0);
5566
    polymost_useShaderProgram(0);
5567
}
5567
}
5568
5568
5569
static void         polymer_compileprogram(int32_t programbits)
5569
static void         polymer_compileprogram(int32_t programbits)
5570
{
5570
{
5571
    int32_t         i, enabledbits;
5571
    int32_t         i, enabledbits;