mirror of
https://github.com/godotengine/godot.git
synced 2025-01-12 20:22:49 +08:00
Print shader compiler error when betsy shader fails to compile
This commit is contained in:
parent
61598c5c88
commit
b8933a4d95
@ -116,6 +116,7 @@ Error _compress_betsy(BetsyFormat p_format, Image *r_img) {
|
||||
}
|
||||
|
||||
if (err != OK) {
|
||||
compute_shader->print_errors("Betsy compress shader");
|
||||
memdelete(rd);
|
||||
if (rcd != nullptr) {
|
||||
memdelete(rcd);
|
||||
|
Loading…
Reference in New Issue
Block a user