Be noisy when resolving uniforms and attributes.

This commit is contained in:
Bill Currie 2011-12-28 12:57:14 +09:00
parent be9530afb6
commit 411ab8f359
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}