Validate the sampler uniform against the number of (combined) texture image units.

Issue=95
TRAC #16568
Signed-off-by: Daniel Koch
Author: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@642 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/Program.h b/src/libGLESv2/Program.h
index df0e908..c03a121 100644
--- a/src/libGLESv2/Program.h
+++ b/src/libGLESv2/Program.h
@@ -122,7 +122,7 @@
     bool isFlaggedForDeletion() const;
 
     void validate();
-    bool validateSamplers() const;
+    bool validateSamplers(bool logErrors);
     bool isValidated() const;
 
     unsigned int getSerial() const;