Lines Matching refs:buf
269 char* buf = (char*) malloc(infoLen);
270 if (buf) {
271 glGetShaderInfoLog(shader, infoLen, NULL, buf);
272 printf("Shader compile log:\n%s\n", buf);
273 free(buf);
277 char* buf = (char*) malloc(0x1000);
278 if (buf) {
279 glGetShaderInfoLog(shader, 0x1000, NULL, buf);
280 printf("Shader compile log:\n%s\n", buf);
281 free(buf);
321 char* buf = (char*) malloc(bufLength);
322 if (buf) {
323 glGetProgramInfoLog(program, bufLength, NULL, buf);
324 printf("Program link log:\n%s\n", buf);
325 free(buf);