summaryrefslogtreecommitdiffstats
path: root/progs/glsl/bump.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-10 10:56:48 -0600
committerBrian <[email protected]>2007-10-10 10:56:48 -0600
commit03ff9c96bf73b53c6c95f2db0aa79cfb1ff9eb3b (patch)
tree13475df0f2b0eb73cced7291f62addcdea33d6f3 /progs/glsl/bump.c
parentde3073d377ee3a0c58fec4b1611cbf893a543c5b (diff)
replace 'brick' with correct program name in printfs
Diffstat (limited to 'progs/glsl/bump.c')
-rw-r--r--progs/glsl/bump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/glsl/bump.c b/progs/glsl/bump.c
index a6846acf7e4..11f87ab1274 100644
--- a/progs/glsl/bump.c
+++ b/progs/glsl/bump.c
@@ -247,7 +247,7 @@ LoadAndCompileShader(GLuint shader, const char *text)
GLchar log[1000];
GLsizei len;
glGetShaderInfoLog_func(shader, 1000, &len, log);
- fprintf(stderr, "brick: problem compiling shader: %s\n", log);
+ fprintf(stderr, "bump: problem compiling shader: %s\n", log);
exit(1);
}
else {
@@ -267,12 +267,12 @@ ReadShader(GLuint shader, const char *filename)
char *buffer = (char*) malloc(max);
FILE *f = fopen(filename, "r");
if (!f) {
- fprintf(stderr, "brick: Unable to open shader file %s\n", filename);
+ fprintf(stderr, "bump: Unable to open shader file %s\n", filename);
exit(1);
}
n = fread(buffer, 1, max, f);
- printf("brick: read %d bytes from shader file %s\n", n, filename);
+ printf("bump: read %d bytes from shader file %s\n", n, filename);
if (n > 0) {
buffer[n] = 0;
LoadAndCompileShader(shader, buffer);