Commit a0d3aa41 by Geoff Lang

Fix float-to-int conversion warning.

BUG=angleproject:1378 Change-Id: I92b902154432e82a1357e8623426256c4ca53ca3 Reviewed-on: https://chromium-review.googlesource.com/345585Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent a797e066
......@@ -1454,7 +1454,7 @@ void State::getFloatv(GLenum pname, GLfloat *params)
case GL_SAMPLE_ALPHA_TO_ONE_EXT:
*params = static_cast<GLfloat>(mSampleAlphaToOne);
case GL_COVERAGE_MODULATION_CHROMIUM:
params[0] = mCoverageModulation;
params[0] = static_cast<GLfloat>(mCoverageModulation);
break;
default:
UNREACHABLE();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment