Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: gpu/command_buffer/service/vertex_attrib_manager.cc

Issue 1316763005: Use UintToString for unsigned values in //gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/vertex_attrib_manager.cc
diff --git a/gpu/command_buffer/service/vertex_attrib_manager.cc b/gpu/command_buffer/service/vertex_attrib_manager.cc
index f0714f10d814560c865780f5d742034dc8236ec5..7d2752fe00d05ec035793847bb347a1218c8c408 100644
--- a/gpu/command_buffer/service/vertex_attrib_manager.cc
+++ b/gpu/command_buffer/service/vertex_attrib_manager.cc
@@ -195,8 +195,8 @@ bool VertexAttribManager::ValidateBindings(
ERRORSTATE_SET_GL_ERROR(
error_state, GL_INVALID_OPERATION, function_name,
(std::string(
- "attempt to access out of range vertices in attribute ") +
- base::IntToString(attrib->index())).c_str());
+ "attempt to access out of range vertices in attribute ") +
+ base::UintToString(attrib->index())).c_str());
return false;
}
if (use_client_side_arrays_for_stream_buffers) {
@@ -242,7 +242,7 @@ bool VertexAttribManager::ValidateBindings(
(std::string(
"attempt to render with no buffer attached to "
"enabled attribute ") +
- base::IntToString(attrib->index())).c_str());
+ base::UintToString(attrib->index())).c_str());
return false;
} else if (use_client_side_arrays_for_stream_buffers) {
Buffer* buffer = attrib->buffer();
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698