diff options
author | Brian <[email protected]> | 2007-10-10 10:56:48 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-10 10:56:48 -0600 |
commit | 03ff9c96bf73b53c6c95f2db0aa79cfb1ff9eb3b (patch) | |
tree | 13475df0f2b0eb73cced7291f62addcdea33d6f3 /progs/glsl/mandelbrot.c | |
parent | de3073d377ee3a0c58fec4b1611cbf893a543c5b (diff) |
replace 'brick' with correct program name in printfs
Diffstat (limited to 'progs/glsl/mandelbrot.c')
-rw-r--r-- | progs/glsl/mandelbrot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/glsl/mandelbrot.c b/progs/glsl/mandelbrot.c index 7a2bad6dde3..e7b2b04b0df 100644 --- a/progs/glsl/mandelbrot.c +++ b/progs/glsl/mandelbrot.c @@ -172,7 +172,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, "mandelbrot: problem compiling shader: %s\n", log); exit(1); } else { @@ -192,12 +192,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, "mandelbrot: 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("mandelbrot: read %d bytes from shader file %s\n", n, filename); if (n > 0) { buffer[n] = 0; LoadAndCompileShader(shader, buffer); |