mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
R_SetupGL: remove some dead code (glGet call that stores GL_MODELVIEW_MATRIX into r_world_matrix, which is not used anywhere.) The glGet calls was stalling the OpenGL pipeline.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1141 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
1d7a9903e3
commit
4a2e29f1c1
2 changed files with 0 additions and 7 deletions
|
@ -46,9 +46,6 @@ vec3_t vpn;
|
|||
vec3_t vright;
|
||||
vec3_t r_origin;
|
||||
|
||||
float r_world_matrix[16];
|
||||
float r_base_world_matrix[16];
|
||||
|
||||
float r_fovx, r_fovy; //johnfitz -- rendering fov may be different becuase of r_waterwarp and r_stereo
|
||||
|
||||
//
|
||||
|
@ -342,8 +339,6 @@ void R_SetupGL (void)
|
|||
glRotatef (-r_refdef.viewangles[1], 0, 0, 1);
|
||||
glTranslatef (-r_refdef.vieworg[0], -r_refdef.vieworg[1], -r_refdef.vieworg[2]);
|
||||
|
||||
glGetFloatv (GL_MODELVIEW_MATRIX, r_world_matrix);
|
||||
|
||||
//
|
||||
// set drawing parms
|
||||
//
|
||||
|
|
|
@ -148,8 +148,6 @@ extern cvar_t gl_playermip;
|
|||
extern cvar_t gl_subdivide_size;
|
||||
extern float load_subdivide_size; //johnfitz -- remember what subdivide_size value was when this map was loaded
|
||||
|
||||
extern float r_world_matrix[16];
|
||||
|
||||
// Multitexture
|
||||
extern qboolean mtexenabled;
|
||||
extern qboolean gl_mtexable;
|
||||
|
|
Loading…
Reference in a new issue