mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
meta: add 'f' suffix to floats to silence some MSVC warnings
This commit is contained in:
parent
6064810e53
commit
09154c274c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue