Defer early-exit due to zero-sized copies until after all other validation for CopyTex*Image.

TRAC #20925

Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
diff --git a/src/libGLESv2/validationES2.cpp b/src/libGLESv2/validationES2.cpp
index 71d8633..09bac01 100644
--- a/src/libGLESv2/validationES2.cpp
+++ b/src/libGLESv2/validationES2.cpp
@@ -487,11 +487,6 @@
         return gl::error(GL_INVALID_VALUE, false);
     }
 
-    if (width == 0 || height == 0)
-    {
-        return false;
-    }
-
     // Verify zero border
     if (border != 0)
     {
@@ -720,7 +715,8 @@
         }
     }
 
-    return true;
+    // If width or height is zero, it is a no-op.  Return false without setting an error.
+    return (width > 0 && height > 0);
 }
 
 bool ValidateES2TexStorageParameters(gl::Context *context, GLenum target, GLsizei levels, GLenum internalformat,