Implemented querying GL_BLEND_COLOR
TRAC #12039
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@192 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/Context.cpp b/src/libGLESv2/Context.cpp
index c700b4c..f21f8b6 100644
--- a/src/libGLESv2/Context.cpp
+++ b/src/libGLESv2/Context.cpp
@@ -848,6 +848,12 @@
params[2] = colorClearValue.blue;
params[3] = colorClearValue.alpha;
break;
+ case GL_BLEND_COLOR:
+ params[0] = blendColor.red;
+ params[1] = blendColor.green;
+ params[2] = blendColor.blue;
+ params[3] = blendColor.alpha;
+ break;
default:
return false;
}
@@ -1154,6 +1160,7 @@
}
break;
case GL_COLOR_CLEAR_VALUE:
+ case GL_BLEND_COLOR:
{
*type = GL_FLOAT;
*numParams = 4;