Index: command_buffer/service/win/d3d9/texture_d3d9.cc |
=================================================================== |
--- command_buffer/service/win/d3d9/texture_d3d9.cc (revision 25949) |
+++ command_buffer/service/win/d3d9/texture_d3d9.cc (working copy) |
@@ -92,9 +92,9 @@ |
texture::Format format, |
unsigned int flags, |
bool enable_render_surfaces) { |
- DCHECK_GT(width, 0); |
- DCHECK_GT(height, 0); |
- DCHECK_GT(levels, 0); |
+ DCHECK_GT(width, 0U); |
+ DCHECK_GT(height, 0U); |
+ DCHECK_GT(levels, 0U); |
D3DFORMAT d3d_format = D3DFormat(format); |
IDirect3DDevice9 *device = gapi->d3d_device(); |
if (enable_render_surfaces) { |
@@ -269,10 +269,10 @@ |
texture::Format format, |
unsigned int flags, |
bool enable_render_surfaces) { |
- DCHECK_GT(width, 0); |
- DCHECK_GT(height, 0); |
- DCHECK_GT(depth, 0); |
- DCHECK_GT(levels, 0); |
+ DCHECK_GT(width, 0U); |
+ DCHECK_GT(height, 0U); |
+ DCHECK_GT(depth, 0U); |
+ DCHECK_GT(levels, 0U); |
D3DFORMAT d3d_format = D3DFormat(format); |
IDirect3DDevice9 *device = gapi->d3d_device(); |
if (enable_render_surfaces) { |
@@ -444,8 +444,8 @@ |
texture::Format format, |
unsigned int flags, |
bool enable_render_surfaces) { |
- DCHECK_GT(side, 0); |
- DCHECK_GT(levels, 0); |
+ DCHECK_GT(side, 0U); |
+ DCHECK_GT(levels, 0U); |
D3DFORMAT d3d_format = D3DFormat(format); |
IDirect3DDevice9 *device = gapi->d3d_device(); |
if (enable_render_surfaces) { |