Lines Matching defs:unit
574 GLint unit;
584 unit = atoi((const char *) imageSrc + 3);
585 if ((unit < 0 || unit >= MAX_TEXTURE_IMAGE_UNITS) ||
586 (unit == 0 && (imageSrc[3] != '0' || imageSrc[4] != 0))) {
589 *texUnit = unit;
616 RETURN_ERROR1("Only one texture target can be used per texture unit.");
1418 GLubyte unit, idx;
1423 if (!Parse_TextureImageId(parseState, &unit, &idx))
1425 inst->TexSrcUnit = unit;
1429 GLubyte unit, idx;
1442 if (!Parse_TextureImageId(parseState, &unit, &idx))
1444 inst->TexSrcUnit = unit;