This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
mesa: use float to silence MSVC warning in _mesa_GetMultisamplefv()
tags/10.3-branchpoint
Brian Paul
11 years ago
parent
50bbe49c33
commit
91affc8b32
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
src/mesa/main/multisample.c
+ 1
- 1
src/mesa/main/multisample.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save