mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
gl_draw.c: gl_lightmode now uses a callback.
gl_dyn_part.c: Now uses a (non-locked) vertex array to reduce GL calls. Gives a slight speed gain, I'll optimize it a bit more soon. gl_rlight.c: Fixed much of the dlightframecount issues. (This gives cleaner code and a speed up.) gl_rmain.c: A slight reorg of the dlight call order. gl_rmisc.c: Enable some of the vertex arrays. (vertex, texcoord, color.) gl_rsurf.c: Reworked R_BuildLightMap, smaller now code wise, also more optimized, and it builds a 0-2 lightmap in more cases now. Playing with GL_UploadLightmap. For non-lighthalf non-mtex lightmaps use a 0-2 range. (Makes gl_lightmode look a /lot/ better.) gl_screen.c: More stuff with the gl_lightmode callback. r_view.c: R_PushDlights is called elsewhere now. sw_rmain.c: Moved the R_PushDlights call. Also killed the unused PASSAGES define.
This commit is contained in:
parent
9ea0605558
commit
b7ee9ba07d
10 changed files with 141 additions and 161 deletions
|
@ -201,6 +201,10 @@ R_Init (void)
|
|||
texture_extension_number += MAX_CLIENTS;
|
||||
player_fb_textures = texture_extension_number;
|
||||
texture_extension_number += MAX_CACHED_SKINS;
|
||||
|
||||
glEnableClientState (GL_COLOR_ARRAY);
|
||||
glEnableClientState (GL_VERTEX_ARRAY);
|
||||
glEnableClientState (GL_TEXTURE_COORD_ARRAY);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue