Go to the source code of this file.
Functions | |
void | GL_ForceTexture (GLuint tmu, GLuint texnum) |
void | GL_BindTexture (GLuint tmu, GLuint texnum) |
void | GL_StateBits (glStateBits_t bits) |
void | GL_ArrayBits (glArrayBits_t bits) |
void | GL_Ortho (GLfloat xmin, GLfloat xmax, GLfloat ymin, GLfloat ymax, GLfloat znear, GLfloat zfar) |
void | GL_Setup2D (void) |
static void | GL_Frustum (void) |
static void | GL_RotateForViewer (void) |
void | GL_Setup3D (void) |
void | GL_SetDefaultState (void) |
byte * | IMG_ReadPixels_GL (int *width, int *height, int *rowbytes) |
void | GL_EnableOutlines (void) |
void | GL_DisableOutlines (void) |
void | GL_InitPrograms (void) |
void | GL_ShutdownPrograms (void) |
Variables | |
glState_t | gls |
void GL_ArrayBits | ( | glArrayBits_t | bits | ) |
Definition at line 185 of file state.c.
Referenced by draw_alias_mesh(), draw_celshading(), draw_shadow(), GL_DrawBeams(), GL_DrawNullModel(), GL_DrawParticles(), GL_EnableOutlines(), GL_Flush2D(), GL_Flush3D(), and R_DrawSkyBox().
void GL_BindTexture | ( | GLuint | tmu, |
GLuint | texnum | ||
) |
Definition at line 40 of file state.c.
Referenced by draw_alias_mesh(), draw_celshading(), draw_shadow(), GL_DrawBeams(), GL_DrawNullModel(), GL_DrawParticles(), GL_EnableOutlines(), GL_Flush2D(), GL_Flush3D(), and R_DrawSkyBox().
Definition at line 471 of file state.c.
Referenced by draw_alias_mesh(), GL_DrawParticles(), GL_Flush2D(), and GL_Flush3D().
Definition at line 460 of file state.c.
Referenced by draw_alias_mesh(), GL_DrawParticles(), GL_Flush2D(), and GL_Flush3D().
void GL_ForceTexture | ( | GLuint | tmu, |
GLuint | texnum | ||
) |
Definition at line 25 of file state.c.
Referenced by gl_anisotropy_changed(), gl_bilerp_chars_changed(), gl_bilerp_pics_changed(), GL_InitBeamTexture(), GL_InitDefaultTexture(), GL_InitParticleTexture(), GL_InitWhiteImage(), gl_texturemode_changed(), IMG_Load_GL(), LM_RebuildSurfaces(), LM_UploadBlock(), Scrap_Upload(), and update_dynamic_lightmap().
void GL_Ortho | ( | GLfloat | xmin, |
GLfloat | xmax, | ||
GLfloat | ymin, | ||
GLfloat | ymax, | ||
GLfloat | znear, | ||
GLfloat | zfar | ||
) |
void GL_StateBits | ( | glStateBits_t | bits | ) |
Definition at line 60 of file state.c.
Referenced by draw_alias_mesh(), draw_celshading(), draw_shadow(), GL_DrawBeams(), GL_DrawNullModel(), GL_DrawParticles(), GL_EnableOutlines(), GL_Flush2D(), GL_Flush3D(), GL_Setup3D(), and R_DrawSkyBox().
glState_t gls |
Definition at line 22 of file state.c.
Referenced by GL_ActiveTexture(), GL_ArrayBits(), GL_BindTexture(), GL_ClientActiveTexture(), GL_ForceTexture(), GL_LoadMatrix(), GL_RotateForEntity(), GL_RotateForViewer(), GL_SetDefaultState(), GL_StateBits(), and IMG_Unload_GL().