Make Program link() and setProgramBinary() return the status of the operation
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1239 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/Program.h b/src/libGLESv2/Program.h
index 15d1f70..981dc67 100644
--- a/src/libGLESv2/Program.h
+++ b/src/libGLESv2/Program.h
@@ -68,8 +68,8 @@
void bindAttributeLocation(GLuint index, const char *name);
- void link();
- void setProgramBinary(const void *binary, GLsizei length);
+ bool link();
+ bool setProgramBinary(const void *binary, GLsizei length);
ProgramBinary *getProgramBinary();
int getInfoLogLength() const;