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

Unified Diff: core/cross/command_buffer/texture_cb.h

Issue 200127: Made gyp file for command buffer libraries.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 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 | « core/cross/command_buffer/renderer_cb.cc ('k') | core/cross/command_buffer/texture_cb.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/command_buffer/texture_cb.h
===================================================================
--- core/cross/command_buffer/texture_cb.h (revision 25949)
+++ core/cross/command_buffer/texture_cb.h (working copy)
@@ -112,7 +112,7 @@
// Returns true if the backing bitmap has the data for the level.
bool HasLevel(unsigned int level) {
- DCHECK_LT(level, levels());
+ DCHECK_LT(level, static_cast<unsigned int>(levels()));
return (has_levels_ & (1 << level)) != 0;
}
@@ -192,7 +192,7 @@
// Returns true if the backing bitmap has the data for the level.
bool HasLevel(CubeFace face, unsigned int level) {
- DCHECK_LT(level, levels());
+ DCHECK_LT(level, static_cast<unsigned int>(levels()));
return (has_levels_[face] & (1 << level)) != 0;
}
« no previous file with comments | « core/cross/command_buffer/renderer_cb.cc ('k') | core/cross/command_buffer/texture_cb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698