summaryrefslogtreecommitdiffstats
path: root/gfx/angle/src/libANGLE/renderer/ProgramImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/angle/src/libANGLE/renderer/ProgramImpl.h')
-rwxr-xr-xgfx/angle/src/libANGLE/renderer/ProgramImpl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gfx/angle/src/libANGLE/renderer/ProgramImpl.h b/gfx/angle/src/libANGLE/renderer/ProgramImpl.h
index 065f6a338..45ff0a05a 100755
--- a/gfx/angle/src/libANGLE/renderer/ProgramImpl.h
+++ b/gfx/angle/src/libANGLE/renderer/ProgramImpl.h
@@ -24,7 +24,14 @@ struct BlockMemberInfo;
namespace rx
{
-using LinkResult = gl::ErrorOrResult<bool>;
+
+struct LinkResult
+{
+ LinkResult(bool linkSuccess, const gl::Error &error) : linkSuccess(linkSuccess), error(error) {}
+
+ bool linkSuccess;
+ gl::Error error;
+};
class ProgramImpl : angle::NonCopyable
{