Merge pull request #96444 from clayjohn/Betsy-print-error
Print shader compiler error when betsy shader fails to compile
This commit is contained in:
commit
9bcb9adad9
|
@ -125,6 +125,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