Browse Source

mesa: remove dead code in _mesa_error

Remove early and unused snprintf and where[] string.
tags/mesa_7_5
Keith Whitwell 16 years ago
parent
commit
df5f7a6761
1 changed files with 0 additions and 6 deletions
  1. 0
    6
      src/mesa/main/imports.c

+ 0
- 6
src/mesa/main/imports.c View File

@@ -1102,14 +1102,8 @@ _mesa_error( GLcontext *ctx, GLenum error, const char *fmtString, ... )
}

if (debug) {
va_list args;
char where[MAXSTRING];
const char *errstr;

va_start( args, fmtString );
vsnprintf( where, MAXSTRING, fmtString, args );
va_end( args );

switch (error) {
case GL_NO_ERROR:
errstr = "GL_NO_ERROR";

Loading…
Cancel
Save