ref: e37f85314d33a5c37c11f8428f37050c0f03e403
parent: 6fd554a7b2fa3282cb51ddd7e66596a5d6feceb1
author: David <gek@katherine>
date: Thu Mar 11 13:37:45 EST 2021
Automatic commit.
--- a/src/ztext.c
+++ b/src/ztext.c
@@ -79,12 +79,11 @@
GLContext* c = gl_get_context();
#include "error_check.h"
- if (!text)
+
#if TGL_FEATURE_ERROR_CHECK == 1
+ if (!text)
#define ERROR_FLAG GL_INVALID_VALUE
#include "error_check.h"
-#else
- return;
#endif
// PIXEL* pbuf = gl_get_context()->zb->pbuf;
GLint w = c->zb->xsize;