Merge pull request #96444 from clayjohn/Betsy-print-error

Print shader compiler error when betsy shader fails to compile
This commit is contained in:
Rémi Verschelde 2024-09-04 18:55:39 +02:00
commit 9bcb9adad9
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -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);