From b8933a4d95026c31848ef2e2dc7e14c02fd14163 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Sun, 1 Sep 2024 13:39:00 -0700 Subject: [PATCH] Print shader compiler error when betsy shader fails to compile --- modules/betsy/image_compress_betsy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/betsy/image_compress_betsy.cpp b/modules/betsy/image_compress_betsy.cpp index 7f723826d16..4dc89ae17b6 100644 --- a/modules/betsy/image_compress_betsy.cpp +++ b/modules/betsy/image_compress_betsy.cpp @@ -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);