Ensure ShaderBinary is conformant

TRAC #12061 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Andrew Lewycky git-svn-id: https://angleproject.googlecode.com/svn/trunk@211 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent f3140157
......@@ -3646,12 +3646,8 @@ void __stdcall glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryfor
try
{
if (n < 0 || length < 0)
{
return error(GL_INVALID_VALUE);
}
UNIMPLEMENTED(); // FIXME
// No binary shader formats are supported.
return error(GL_INVALID_ENUM);
}
catch(std::bad_alloc&)
{
......
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