shithub: tinygl

Download patch

ref: 54c9cde047554476db8ef73daf271a46bad0a3b2
parent: ba571fd7ce3ae47706519595889d2bfb51cb91ff
author: David <gek@katherine>
date: Fri Mar 12 07:20:21 EST 2021

Automatic commit.

--- a/src/list.c
+++ b/src/list.c
@@ -185,7 +185,7 @@
 	//GLContext* c = gl_get_context();
 	GLList* l;
 	GLint list;
-#include "error_check.h"
+#include "error_check_no_context.h"
 	list = p[1].ui;
 	l = find_list(list);
 
--- a/src/texture.c
+++ b/src/texture.c
@@ -21,7 +21,7 @@
 								 	GLboolean * residences){
 //GLContext* c = gl_get_context();
 #define RETVAL GL_FALSE
-#include "error_check.h"
+#include "error_check_no_context.h"
 GLboolean retval = GL_TRUE;
 	for(GLint i = 0; i < n; i++)
 		if(find_texture(textures[i]))