From 72093df9fdf281ccd581baf5993bdc2ec6957342 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 3 Jan 2016 20:35:53 +1000 Subject: Clean up logging, removing most of the printf's. --- src/extantz/gears.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/extantz/gears.c') 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) if (info) { gl->glGetShaderInfoLog(shader, len, NULL, info); - printf("Error compiling shader:\n" - "%s\n", info); + PE("Error compiling shader: %s", info); free(info); } } @@ -332,7 +331,7 @@ void gears_init(GLData *gld) if (info) { gld->glApi->glGetProgramInfoLog(gld->program, len, NULL, info); - printf("Error linking program:\n%s\n", info); + PE("Error linking program: %s", info); free(info); } } -- cgit v1.1