aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/gears.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/extantz/gears.c')
-rw-r--r--src/extantz/gears.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/extantz/gears.c b/src/extantz/gears.c
index 68f817e..9998357 100644
--- a/src/extantz/gears.c
+++ b/src/extantz/gears.c
@@ -279,8 +279,7 @@ static GLuint load_shader(GLData *gld, GLenum type, const char *shader_src)
279 if (info) 279 if (info)
280 { 280 {
281 gl->glGetShaderInfoLog(shader, len, NULL, info); 281 gl->glGetShaderInfoLog(shader, len, NULL, info);
282 printf("Error compiling shader:\n" 282 PE("Error compiling shader: %s", info);
283 "%s\n", info);
284 free(info); 283 free(info);
285 } 284 }
286 } 285 }
@@ -332,7 +331,7 @@ void gears_init(GLData *gld)
332 if (info) 331 if (info)
333 { 332 {
334 gld->glApi->glGetProgramInfoLog(gld->program, len, NULL, info); 333 gld->glApi->glGetProgramInfoLog(gld->program, len, NULL, info);
335 printf("Error linking program:\n%s\n", info); 334 PE("Error linking program: %s", info);
336 free(info); 335 free(info);
337 } 336 }
338 } 337 }