Skip to content
Snippets Groups Projects
Commit d24060bb authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Wait.

parent 968fea03
No related branches found
No related tags found
1 merge request!724OpenGL shaders
...@@ -496,6 +496,9 @@ boolean SetupGLfunc(void) ...@@ -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; ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment