Lines Matching refs:psz
452 GLfloat psz[4], col[4], restore_psz, restore_alpha;
454 _tnl_get_attr(ctx, v0, _TNL_ATTRIB_POINTSIZE, psz);
457 restore_psz = psz[0];
460 if (psz[0] >= ctx->Point.Threshold) {
461 psz[0] = MIN2(psz[0], ctx->Point.MaxSize);
464 GLfloat dsize = psz[0] / ctx->Point.Threshold;
465 psz[0] = MAX2(ctx->Point.Threshold, ctx->Point.MinSize);
469 if (psz[0] < 1.0)
470 psz[0] = 1.0;
472 if (restore_psz != psz[0] || restore_alpha != col[3]) {
473 _tnl_set_attr(ctx, v0, _TNL_ATTRIB_POINTSIZE, psz);
478 psz[0] = restore_psz;
481 _tnl_set_attr(ctx, v0, _TNL_ATTRIB_POINTSIZE, psz);