meta: add 'f' suffix to floats to silence some MSVC warnings

This commit is contained in:
Brian Paul 2013-01-16 08:25:43 -07:00
parent 6064810e53
commit 09154c274c

View file

@ -4126,7 +4126,7 @@ _mesa_meta_DrawTex(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
const GLfloat x1 = x + width;
const GLfloat y1 = y + height;
z = CLAMP(z, 0.0, 1.0);
z = CLAMP(z, 0.0f, 1.0f);
z = invert_z(z);
verts[0].x = x;