Skip to content

Commit

Permalink
renderer: Remove specific command hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
heinezen committed Dec 13, 2023
1 parent 7b85c66 commit fb7d891
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions libopenage/renderer/opengl/error.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ void gl_check_error() {
// unknown error state
errormsg = "unknown error";
}
throw Error(MSG(err) << "OpenGL error state after running draw method: " << glerrorstate << "\n"
"\t"
throw Error(MSG(err) << "OpenGL error state after running draw method: "
<< glerrorstate << "\n"
"\t"
<< errormsg << "\n"
<< "Run the game with --gl-debug to get more information: './run game --gl-debug'.");
<< "Run the engine with --gl-debug to get more information.");
}
}

Expand Down

0 comments on commit fb7d891

Please sign in to comment.