commit | b34591a81ba7389d6d027183acb2f60b2b6b0907 | [log] [tgz] |
---|---|---|
author | Alexis Hetu <sugoi@google.com> | Tue Jun 28 15:48:35 2016 -0400 |
committer | Alexis Hétu <sugoi@google.com> | Tue Jun 28 23:35:32 2016 +0000 |
tree | 78a95fa97450bdf0a5fc5cebf0265eb2f3b25534 | |
parent | 90c7ad6764b32c5c1784893316872282f791135a [diff] [blame] |
Turning on warnings as error in Visual Studio Disabled a few warnings and fixed a few warnings to enable turning 'warnings as errors' on in Visual Studio. Change-Id: I91e8e2d4d71794b73178f8d59c2f6fc872ad3085 Reviewed-on: https://swiftshader-review.googlesource.com/5710 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/libGLESv2/libGLESv3.cpp b/src/OpenGL/libGLESv2/libGLESv3.cpp index 7f362bf..f4bef0f 100644 --- a/src/OpenGL/libGLESv2/libGLESv3.cpp +++ b/src/OpenGL/libGLESv2/libGLESv3.cpp
@@ -3481,7 +3481,7 @@ return error(GL_INVALID_ENUM); } - if(!ValidateTexParamParameters(pname, *param)) + if(!ValidateTexParamParameters(pname, static_cast<GLint>(roundf(*param)))) { return; }