Merge pull request #77 from vinzenz/shaderlang-test-crash-fix

Fixed crash bug in the shaderlang test
This commit is contained in:
reduz 2014-02-14 18:59:06 -02:00
commit b0870e487c

View File

@ -288,8 +288,7 @@ MainLoop* test() {
FileAccess *fa = FileAccess::open(test,FileAccess::READ);
if (!fa) {
memdelete(fa);
if (!fa) {
ERR_FAIL_V(NULL);
}