#include <stdint.h>
#include <stdlib.h>
#include <errno.h>
+#include "print.h"
#include "opengl.h"
#include <GL/glew.h>
;
text_rgb = calloc(texture_size * texture_size * 10, 3);
if (!text_rgb) {
- fprintf(stderr, "Failed to allocate texture\n");
+ print_error("Failed to allocate texture\n");
rc = -ENOMEM;
goto error;
}