Print shader compiler error when betsy shader fails to compile

This commit is contained in:
clayjohn 2024-09-01 13:39:00 -07:00
parent 61598c5c88
commit b8933a4d95

View File

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