ref: 8c11951859d170b62b8198625bc62fefbe87c2b7
parent: 150b8ab17cc4b91d8fe73da0c96d087dd93b2d4f
author: David <gek@katherine>
date: Fri Feb 19 09:10:56 EST 2021
Reproducible builds- the date and time are not in the binary
--- a/src/get.c
+++ b/src/get.c
@@ -1,6 +1,7 @@
#include "msghandling.h"
#include "zgl.h"
#define TINYGL_VERSION 0.8
+#define TINYGL_USE_DATE_TIME 0
void glGetIntegerv(GLint pname, GLint* params) {
GLContext* c = gl_get_context();
#include "error_check.h"
@@ -88,29 +89,21 @@
" TinyGLv"
xstr(TINYGL_VERSION)
" "
-#ifdef __DATE__
-"Compiled on "
-__DATE__
-#ifdef __TIME__
-" at "
-__TIME__
-#endif
#ifdef __GNUC__
-" using GCC "
+"Compiled using GCC "
__VERSION__
#endif
#ifdef __TINYC__
-" using Tiny C Compiler "
+"Compiled using Tiny C Compiler "
xstr(__TINYC__)
#endif
#ifdef _MSVC_VER
-" using the worst compiler on earth, M$VC"
+"Compiled using the worst compiler on earth, M$VC. Fuck you!"
#endif
#ifdef __clang__
-" Using Clang "
+"Compiled Using Clang "
__clang_version__
#endif
-#endif //Endof date.
;
const GLubyte* extensions_string = (const GLubyte*)"TGL_TEXTURE "
"TGL_SMOOTHSHADING "