shithub: tinygl

Download patch

ref: fc6ea36848f15dd98741f2b0d07f5803727a15fb
parent: 65e81ac7b443c61303adb2f49c397c974df4cc1b
author: David <gek@katherine>
date: Sat Feb 20 23:03:26 EST 2021

Compliance- glGetString

--- a/src/get.c
+++ b/src/get.c
@@ -180,7 +180,7 @@
 		case GL_EXTENSIONS: return extensions_string;
 		/*case GL_LICENSE: return license_string;*/
 	}
-	return (const GLubyte*)"Erroneous input to glGetString";
+	return NULL;
 }
 
 void glGetFloatv(GLint pname, GLfloat* v) {