Commit 82b42271 by Jamie Madill

Fix build warnings in x64.

A std::min/max with size_t and unsigned int. Popped up in f98e63a5. BUG= Change-Id: I25f26ddbe7fb333f895be8a8dce3d3d73044c3f9 Reviewed-on: https://chromium-review.googlesource.com/200484Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent fc2521e1
...@@ -207,8 +207,8 @@ GLenum InputLayoutCache::applyVertexBuffers(TranslatedAttribute attributes[gl::M ...@@ -207,8 +207,8 @@ GLenum InputLayoutCache::applyVertexBuffers(TranslatedAttribute attributes[gl::M
vertexOffset != mCurrentVertexOffsets[i]) vertexOffset != mCurrentVertexOffsets[i])
{ {
dirtyBuffers = true; dirtyBuffers = true;
minDiff = std::min(minDiff, i); minDiff = std::min(minDiff, static_cast<size_t>(i));
maxDiff = std::max(maxDiff, i); maxDiff = std::max(maxDiff, static_cast<size_t>(i));
mCurrentBuffers[i] = buffer; mCurrentBuffers[i] = buffer;
mCurrentVertexStrides[i] = vertexStride; mCurrentVertexStrides[i] = vertexStride;
......
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