bestsquareddeviation = squareddeviation;
}
}
- return sqrt(bestsquareddeviation);
+ return (float)sqrt(bestsquareddeviation);
}
float QuadraticSplinePatchLargestDeviationOnY(int cpwidth, int cpheight, int components, const float *in)
bestsquareddeviation = squareddeviation;
}
}
- return sqrt(bestsquareddeviation);
+ return (float)sqrt(bestsquareddeviation);
}
int QuadraticSplinePatchSubdivisionLevelForDeviation(float deviation, float level1tolerance, int levellimit)
if (r_showtrispass)
return;
gl_state.colormask = state;
- qglColorMask(r, g, b, a);CHECKGLERROR
+ qglColorMask((GLboolean)r, (GLboolean)g, (GLboolean)b, (GLboolean)a);CHECKGLERROR
}
}