Lines Matching refs:iVer
473 int iVer = crStrParseGlSubver(ver, &ver, true);
474 if(iVer <= 0)
476 crWarning("parsing major version returned %d, '%s'", iVer, initVer);
477 return iVer;
480 if (iVer > CR_GLVERSION_MAX_MAJOR)
482 crWarning("major version %d is bigger than the max supported %#x, this is somewhat not expected, failing", iVer, CR_GLVERSION_MAX_MAJOR);
486 iVer <<= CR_GLVERSION_OFFSET_MAJOR;
502 crWarning("minor version %d is bigger than the max supported %#x, this is somewhat not expected, failing", iVer, CR_GLVERSION_MAX_MAJOR);
506 iVer |= tmp << CR_GLVERSION_OFFSET_MINOR;
527 iVer |= tmp << CR_GLVERSION_OFFSET_BUILD;
530 crDebug("returning version %#x for string '%s'", iVer, initVer);
532 return iVer;