summaryrefslogtreecommitdiffstats
path: root/progs/glsl/toyball.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/toyball.c
parentde3073d377ee3a0c58fec4b1611cbf893a543c5b (diff)
replace 'brick' with correct program name in printfs
Diffstat (limited to 'progs/glsl/toyball.c')
-rw-r--r--progs/glsl/toyball.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/glsl/toyball.c b/progs/glsl/toyball.c
index cef52c04a6c..3aa096161ae 100644
--- a/progs/glsl/toyball.c
+++ b/progs/glsl/toyball.c
@@ -185,7 +185,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, "toyball: problem compiling shader: %s\n", log);
exit(1);
}
else {
@@ -205,12 +205,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, "toyball: 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("toyball: read %d bytes from shader file %s\n", n, filename);
if (n > 0) {
buffer[n] = 0;
LoadAndCompileShader(shader, buffer);