From f01637430f0a8c0d4594973e36f932626724a17d Mon Sep 17 00:00:00 2001 From: Hudd Date: Tue, 2 Apr 2024 12:46:27 +0400 Subject: [PATCH] graphics: use cerr to output errors Ideally, it should be awlog --- graphics/gl3/shader.c++ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/gl3/shader.c++ b/graphics/gl3/shader.c++ index a0236d6f..da5369df 100644 --- a/graphics/gl3/shader.c++ +++ b/graphics/gl3/shader.c++ @@ -64,7 +64,7 @@ bool shader::compile(string_view code) bool status = is_compiled(); if (status == false) { - std::cout << "Failed to compile " << enum_string( type() ) << " shader:" << '\n'; + std::cerr << "Failed to compile " << enum_string( type() ) << " shader:" << '\n'; report_info_log( _shader ); }