Chromium Code Reviews

Unified Diff: command_buffer/service/cross/gl/sampler_gl.cc

Issue 231027: Fixed some warnings. (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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « command_buffer/service/cross/gl/geometry_gl.cc ('k') | command_buffer/service/cross/gl/texture_gl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_buffer/service/cross/gl/sampler_gl.cc
===================================================================
--- command_buffer/service/cross/gl/sampler_gl.cc (revision 27098)
+++ command_buffer/service/cross/gl/sampler_gl.cc (working copy)
@@ -157,7 +157,7 @@
// These are validated in GAPIDecoder.cc
DCHECK_NE(mag_filter, sampler::NONE);
DCHECK_NE(min_filter, sampler::NONE);
- DCHECK_GT(max_anisotropy, 0);
+ DCHECK_GT(max_anisotropy, 0U);
gl_wrap_s_ = GLAddressMode(addressing_u);
gl_wrap_t_ = GLAddressMode(addressing_v);
gl_wrap_r_ = GLAddressMode(addressing_w);
« no previous file with comments | « command_buffer/service/cross/gl/geometry_gl.cc ('k') | command_buffer/service/cross/gl/texture_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine