Remove unused renderer_buffer variable

This commit is contained in:
Zack Middleton 2018-07-20 23:39:54 -05:00
parent 809a7765b2
commit c74b9a4452
2 changed files with 0 additions and 10 deletions

View file

@ -178,8 +178,6 @@ int max_polyverts;
*/ */
static void InitOpenGL( void ) static void InitOpenGL( void )
{ {
char renderer_buffer[1024];
// //
// initialize OS specific portions of the renderer // initialize OS specific portions of the renderer
// //
@ -197,9 +195,6 @@ static void InitOpenGL( void )
GLimp_Init( qfalse ); GLimp_Init( qfalse );
strcpy( renderer_buffer, glConfig.renderer_string );
Q_strlwr( renderer_buffer );
// OpenGL driver constants // OpenGL driver constants
qglGetIntegerv( GL_MAX_TEXTURE_SIZE, &temp ); qglGetIntegerv( GL_MAX_TEXTURE_SIZE, &temp );
glConfig.maxTextureSize = temp; glConfig.maxTextureSize = temp;

View file

@ -243,8 +243,6 @@ int max_polyverts;
*/ */
static void InitOpenGL( void ) static void InitOpenGL( void )
{ {
char renderer_buffer[1024];
// //
// initialize OS specific portions of the renderer // initialize OS specific portions of the renderer
// //
@ -263,9 +261,6 @@ static void InitOpenGL( void )
GLimp_Init( qtrue ); GLimp_Init( qtrue );
GLimp_InitExtraExtensions(); GLimp_InitExtraExtensions();
strcpy( renderer_buffer, glConfig.renderer_string );
Q_strlwr( renderer_buffer );
// OpenGL driver constants // OpenGL driver constants
qglGetIntegerv( GL_MAX_TEXTURE_SIZE, &temp ); qglGetIntegerv( GL_MAX_TEXTURE_SIZE, &temp );
glConfig.maxTextureSize = temp; glConfig.maxTextureSize = temp;