summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-01-16 08:25:43 -0700
committerBrian Paul <[email protected]>2013-01-16 17:06:17 -0700
commit09154c274c720815b642970bf3861413d0fbef92 (patch)
tree83dffde850452317ff61dbde50ad6cd4616673f8 /src/mesa
parent6064810e53aef4c13c943b6dbdd6a647219458e9 (diff)
meta: add 'f' suffix to floats to silence some MSVC warnings
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/common/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index e25481e1a85..4e32b506675 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -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;