1
1

GL: Fix error messages missing end of line

This commit is contained in:
2022-08-09 12:40:31 +02:00
parent be50d526eb
commit 2e4727e123
2 changed files with 7 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ void GLStorageBuf::bind(int slot)
if (slot >= GLContext::max_ssbo_binds) {
fprintf(
stderr,
"Error: Trying to bind \"%s\" ssbo to slot %d which is above the reported limit of %d.",
"Error: Trying to bind \"%s\" ssbo to slot %d which is above the reported limit of %d.\n",
name_,
slot,
GLContext::max_ssbo_binds);

View File

@@ -65,11 +65,12 @@ void GLUniformBuf::update(const void *data)
void GLUniformBuf::bind(int slot)
{
if (slot >= GLContext::max_ubo_binds) {
fprintf(stderr,
"Error: Trying to bind \"%s\" ubo to slot %d which is above the reported limit of %d.",
name_,
slot,
GLContext::max_ubo_binds);
fprintf(
stderr,
"Error: Trying to bind \"%s\" ubo to slot %d which is above the reported limit of %d.\n",
name_,
slot,
GLContext::max_ubo_binds);
return;
}