summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-06-17 15:04:20 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-06-17 15:04:20 -0700
commit832dfa58b2070d60111bc1997aea86228f630e75 (patch)
tree172d3284f375044e3dbd584482a91fd352702ca3 /main.cpp
parent705fb01b59bec8acb9ff21509d25aa675d7c1dee (diff)
linker: Initial bits of the linker
No linking is done yet, but some of the semantic checking is done.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 37057ab1c9..48aa51f282 100644
--- a/main.cpp
+++ b/main.cpp
@@ -214,5 +214,10 @@ main(int argc, char **argv)
}
}
+ if (status == EXIT_SUCCESS) {
+ link_shaders(&whole_program);
+ status = (whole_program.LinkStatus) ? EXIT_SUCCESS : EXIT_FAILURE;
+ }
+
return status;
}