| Index: core/cross/image_utils.h
|
| ===================================================================
|
| --- core/cross/image_utils.h (revision 22687)
|
| +++ core/cross/image_utils.h (working copy)
|
| @@ -59,8 +59,7 @@
|
| unsigned int GetNumComponentsForFormat(Texture::Format format);
|
|
|
| inline bool CheckImageDimensions(unsigned int width, unsigned int height) {
|
| - return width > 0 && height > 0 &&
|
| - width <= kMaxImageDimension && height <= kMaxImageDimension;
|
| + return width <= kMaxImageDimension && height <= kMaxImageDimension;
|
| }
|
|
|
| // Gets the number of mip-maps required for a full chain starting at
|
|
|