mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 19:01:06 +00:00
Be noisy when resolving uniforms and attributes.
This commit is contained in:
parent
be9530afb6
commit
411ab8f359
1 changed files with 4 additions and 0 deletions
|
@ -329,6 +329,10 @@ GL_ResolveShaderParam (int program, shaderparam_t *param)
|
|||
if (param->location < 0) {
|
||||
Sys_Printf ("could not resolve %s %s\n",
|
||||
param->uniform ? "uniform" : "attribute", param->name);
|
||||
} else {
|
||||
Sys_MaskPrintf (SYS_GLSL, "Resolved %s %s @ %d\n",
|
||||
param->uniform ? "uniform" : "attribute",
|
||||
param->name, param->location);
|
||||
}
|
||||
return param->location;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue