Skip to content

Commit

Permalink
graphics: use cerr to output errors
Browse files Browse the repository at this point in the history
Ideally, it should be awlog
  • Loading branch information
Hedede committed Apr 2, 2024
1 parent d49da9f commit f016374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/gl3/shader.c++
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

Expand Down

0 comments on commit f016374

Please sign in to comment.