mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-30 08:00:56 +00:00
Wait.
This commit is contained in:
parent
968fea0383
commit
d24060bb94
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue