Lines Matching defs:tgt
651 GLuint u, tgt;
679 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) {
680 _mesa_reference_texobj(&save->CurrentTexture[tgt],
681 ctx->Texture.Unit[0].CurrentTex[tgt]);
1072 GLuint u, tgt;
1080 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) {
1081 if (ctx->Texture.Unit[0].CurrentTex[tgt] != save->CurrentTexture[tgt]) {
1083 _mesa_reference_texobj(&ctx->Texture.Unit[0].CurrentTex[tgt],
1084 save->CurrentTexture[tgt]);
1086 _mesa_reference_texobj(&save->CurrentTexture[tgt], NULL);