From de4f390376949fdd31350581bcb392d307ef493d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Mon, 9 Oct 2023 18:53:56 +0200 Subject: [PATCH] revert that decision --- depot | 2 +- engine/joint/v4k.h | 2 +- engine/split/v4k_render.c | 2 +- engine/v4k.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/depot b/depot index 9acdca3..06f2dd9 160000 --- a/depot +++ b/depot @@ -1 +1 @@ -Subproject commit 9acdca3091911bde31233252c19087afcec53b18 +Subproject commit 06f2dd98dfeee885b9935486f055e58cc3ce1b5d diff --git a/engine/joint/v4k.h b/engine/joint/v4k.h index ece00ba..6b91d24 100644 --- a/engine/joint/v4k.h +++ b/engine/joint/v4k.h @@ -594620,7 +594620,7 @@ GLuint shader_compile( GLenum type, const char *source ) { // dump log with line numbers shader_print( source ); - PANIC("!ERROR: shader_compile(): %s\n%s\n", type == GL_VERTEX_SHADER ? "Vertex" : "Fragment", buf); + PRINTF("!ERROR: shader_compile(): %s\n%s\n", type == GL_VERTEX_SHADER ? "Vertex" : "Fragment", buf); return 0; } diff --git a/engine/split/v4k_render.c b/engine/split/v4k_render.c index 7ccdaa7..e576ec3 100644 --- a/engine/split/v4k_render.c +++ b/engine/split/v4k_render.c @@ -81,7 +81,7 @@ GLuint shader_compile( GLenum type, const char *source ) { // dump log with line numbers shader_print( source ); - PANIC("!ERROR: shader_compile(): %s\n%s\n", type == GL_VERTEX_SHADER ? "Vertex" : "Fragment", buf); + PRINTF("!ERROR: shader_compile(): %s\n%s\n", type == GL_VERTEX_SHADER ? "Vertex" : "Fragment", buf); return 0; } diff --git a/engine/v4k.c b/engine/v4k.c index 61ed5d0..8cef6e2 100644 --- a/engine/v4k.c +++ b/engine/v4k.c @@ -12789,7 +12789,7 @@ GLuint shader_compile( GLenum type, const char *source ) { // dump log with line numbers shader_print( source ); - PANIC("!ERROR: shader_compile(): %s\n%s\n", type == GL_VERTEX_SHADER ? "Vertex" : "Fragment", buf); + PRINTF("!ERROR: shader_compile(): %s\n%s\n", type == GL_VERTEX_SHADER ? "Vertex" : "Fragment", buf); return 0; }