From 91affc8b329c70d9213111f42d78a148491f4720 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 3 Jul 2014 12:00:36 -0600 Subject: [PATCH] mesa: use float to silence MSVC warning in _mesa_GetMultisamplefv() --- src/mesa/main/multisample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/multisample.c b/src/mesa/main/multisample.c index 599cdee7407..1f3fa0c1562 100644 --- a/src/mesa/main/multisample.c +++ b/src/mesa/main/multisample.c @@ -89,7 +89,7 @@ _mesa_GetMultisamplefv(GLenum pname, GLuint index, GLfloat * val) /* winsys FBOs are upside down */ if (_mesa_is_winsys_fbo(ctx->DrawBuffer)) - val[1] = 1 - val[1]; + val[1] = 1.0f - val[1]; return; } -- 2.30.2