This commit is contained in:
Jaime Passos 2020-01-23 22:24:35 -03:00
parent 968fea0383
commit d24060bb94

View file

@ -496,6 +496,9 @@ boolean SetupGLfunc(void)
return true; return true;
} }
static boolean gl_allowshaders = false;
static boolean gl_shadersenabled = false;
#ifdef GL_SHADERS #ifdef GL_SHADERS
typedef GLuint (APIENTRY *PFNglCreateShader) (GLenum); typedef GLuint (APIENTRY *PFNglCreateShader) (GLenum);
typedef void (APIENTRY *PFNglShaderSource) (GLuint, GLsizei, const GLchar**, GLint*); typedef void (APIENTRY *PFNglShaderSource) (GLuint, GLsizei, const GLchar**, GLint*);
@ -545,9 +548,6 @@ static PFNglGetUniformLocation pglGetUniformLocation;
// 18032019 // 18032019
static char *gl_customvertexshaders[MAXSHADERS]; static char *gl_customvertexshaders[MAXSHADERS];
static char *gl_customfragmentshaders[MAXSHADERS]; static char *gl_customfragmentshaders[MAXSHADERS];
static boolean gl_allowshaders = false;
static boolean gl_shadersenabled = false;
static GLuint gl_currentshaderprogram = 0; static GLuint gl_currentshaderprogram = 0;
// 13062019 // 13062019