projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bbe49
)
mesa: use float to silence MSVC warning in _mesa_GetMultisamplefv()
author
Brian Paul
<brianp@vmware.com>
Thu, 3 Jul 2014 18:00:36 +0000
(12:00 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 9 Jul 2014 12:43:25 +0000
(06:43 -0600)
src/mesa/main/multisample.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/multisample.c
b/src/mesa/main/multisample.c
index 599cdee74075431071821b2a6ca50f6a6e8d89cf..1f3fa0c1562af8f1dcb190439c9fab75102dbe83 100644
(file)
--- 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;
}