Lines Matching defs:tgt
638 GLuint u, tgt;
666 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) {
667 _mesa_reference_texobj(&save->CurrentTexture[tgt],
668 ctx->Texture.Unit[0].CurrentTex[tgt]);
1058 GLuint u, tgt;
1066 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) {
1067 if (ctx->Texture.Unit[0].CurrentTex[tgt] != save->CurrentTexture[tgt]) {
1069 _mesa_reference_texobj(&ctx->Texture.Unit[0].CurrentTex[tgt],
1070 save->CurrentTexture[tgt]);
1072 _mesa_reference_texobj(&save->CurrentTexture[tgt], NULL);