GL: Fix error messages missing end of line
This commit is contained in:
@@ -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);
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user