summaryrefslogtreecommitdiffstats
path: root/modules/betsy/image_compress_betsy.cpp
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2024-09-01 13:39:00 -0700
committerclayjohn <claynjohn@gmail.com>2024-09-01 13:39:00 -0700
commitb8933a4d95026c31848ef2e2dc7e14c02fd14163 (patch)
tree293cb737c1498c7ee8f677a40187964336154451 /modules/betsy/image_compress_betsy.cpp
parent61598c5c88d95b96811d386cb20d714c35f4c6d7 (diff)
downloadredot-engine-b8933a4d95026c31848ef2e2dc7e14c02fd14163.tar.gz
Print shader compiler error when betsy shader fails to compile
Diffstat (limited to 'modules/betsy/image_compress_betsy.cpp')
-rw-r--r--modules/betsy/image_compress_betsy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/betsy/image_compress_betsy.cpp b/modules/betsy/image_compress_betsy.cpp
index 7f723826d1..4dc89ae17b 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);