Fix another string mistake

This commit is contained in:
Cacodemon345
2025-03-10 01:33:18 +06:00
parent 1ca2aabf2f
commit 144558e60e

View File

@@ -144,7 +144,7 @@ static glslp_t *glsl_parse(const char *f) {
strcpy(shader->shader_fn, f); strcpy(shader->shader_fn, f);
shader->shader_program = load_file(f); shader->shader_program = load_file(f);
if (!shader->shader_program) { if (!shader->shader_program) {
QMessageBox::critical((QWidget *) qApp->findChild<QWindow *>(), QObject::tr("GLSL error"), QObject::tr("Could not load shader %s").arg(shader->shader_fn)); QMessageBox::critical((QWidget *) qApp->findChild<QWindow *>(), QObject::tr("GLSL error"), QObject::tr("Could not load shader %1").arg(shader->shader_fn));
//wx_simple_messagebox("GLSL error", "Could not load shader %s\n", shader->shader_fn); //wx_simple_messagebox("GLSL error", "Could not load shader %s\n", shader->shader_fn);
glslp_free(glslp); glslp_free(glslp);
return 0; return 0;