Rename UniformComponentCount to UniformExternalComponentCount

Trac #18608 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@867 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent c9d81a2a
......@@ -933,7 +933,7 @@ bool Program::getUniformfv(GLint location, GLfloat *params)
break;
default:
{
unsigned int count = UniformComponentCount(targetUniform->type);
unsigned int count = UniformExternalComponentCount(targetUniform->type);
unsigned int internalCount = UniformInternalComponentCount(targetUniform->type);
switch (UniformComponentType(targetUniform->type))
......@@ -998,7 +998,7 @@ bool Program::getUniformiv(GLint location, GLint *params)
break;
default:
{
unsigned int count = UniformComponentCount(targetUniform->type);
unsigned int count = UniformExternalComponentCount(targetUniform->type);
unsigned int internalCount = UniformInternalComponentCount(targetUniform->type);
switch (UniformComponentType(targetUniform->type))
......
......@@ -20,7 +20,8 @@
namespace gl
{
int UniformComponentCount(GLenum type)
// This is how much data the application expects for a uniform
int UniformExternalComponentCount(GLenum type)
{
switch (type)
{
......
......@@ -21,7 +21,7 @@ namespace gl
struct Color;
int UniformComponentCount(GLenum type);
int UniformExternalComponentCount(GLenum type);
int UniformInternalComponentCount(GLenum type);
GLenum UniformComponentType(GLenum type);
size_t UniformTypeSize(GLenum type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment