Go to the source code of this file.
Functions | |
void | R_ResetArrayState (void) |
void | R_SetArrayState (const struct model_s *mod) |
Definition in file r_array.h.
void R_ResetArrayState | ( | void | ) |
Definition at line 180 of file r_array.c.
References rstate_t::active_program, r_array_state_s::arrays, rstate_t::color_array_enabled, GL_TANGENT_ARRAY, rstate_t::lighting_enabled, r_array_state_s::model, R_BindBuffer(), R_BindDefaultArray(), r_bumpmap, R_SelectTexture(), r_state, texunit_diffuse, texunit_lightmap, cvar_s::value, and rstate_t::world_program.
Referenced by R_DrawBspNormals(), R_DrawCoronas(), R_DrawFlareSurfaces(), R_DrawMaterialSurfaces(), R_DrawSurfaces(), and R_RenderFrame().
void R_SetArrayState | ( | const struct model_s * | mod | ) |