mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Fixed crash bug in the shaderlang test
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
This commit is contained in:
parent
c12a8e922f
commit
96bc0c9f15
@ -288,8 +288,7 @@ MainLoop* test() {
|
||||
|
||||
FileAccess *fa = FileAccess::open(test,FileAccess::READ);
|
||||
|
||||
if (!fa) {
|
||||
memdelete(fa);
|
||||
if (!fa) {
|
||||
ERR_FAIL_V(NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user