Fix getActiveUniform array size and refactor uniform size
TRAC #11929
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@182 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/Program.h b/src/libGLESv2/Program.h
index 91d04ef..c200261 100644
--- a/src/libGLESv2/Program.h
+++ b/src/libGLESv2/Program.h
@@ -26,13 +26,13 @@
// Helper struct representing a single shader uniform
struct Uniform
{
- Uniform(GLenum type, const std::string &name, unsigned int bytes);
+ Uniform(GLenum type, const std::string &name, unsigned int arraySize);
~Uniform();
const GLenum type;
const std::string name;
- const unsigned int bytes;
+ const unsigned int arraySize;
unsigned char *data;
};