disable some debug code
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Mesa 3-D graphics library
|
* Mesa 3-D graphics library
|
||||||
* Version: 6.0
|
* Version: 6.1
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
|
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
|
||||||
*
|
*
|
||||||
@@ -1487,7 +1487,7 @@ _mesa_parse_nv_fragment_program(GLcontext *ctx, GLenum dstTarget,
|
|||||||
_mesa_assign_program_registers(&(program->SymbolTable));
|
_mesa_assign_program_registers(&(program->SymbolTable));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG_foo
|
||||||
_mesa_printf("--- glLoadProgramNV(%d) result ---\n", program->Base.Id);
|
_mesa_printf("--- glLoadProgramNV(%d) result ---\n", program->Base.Id);
|
||||||
_mesa_print_nv_fragment_program(program);
|
_mesa_print_nv_fragment_program(program);
|
||||||
_mesa_printf("----------------------------------\n");
|
_mesa_printf("----------------------------------\n");
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Mesa 3-D graphics library
|
* Mesa 3-D graphics library
|
||||||
* Version: 6.0.1
|
* Version: 6.1
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
|
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
|
||||||
*
|
*
|
||||||
@@ -1302,7 +1302,7 @@ _mesa_parse_nv_vertex_program(GLcontext *ctx, GLenum dstTarget,
|
|||||||
program->IsPositionInvariant = parseState.isPositionInvariant;
|
program->IsPositionInvariant = parseState.isPositionInvariant;
|
||||||
program->IsNVProgram = GL_TRUE;
|
program->IsNVProgram = GL_TRUE;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG_foo
|
||||||
_mesa_printf("--- glLoadProgramNV result ---\n");
|
_mesa_printf("--- glLoadProgramNV result ---\n");
|
||||||
_mesa_print_nv_vertex_program(program);
|
_mesa_print_nv_vertex_program(program);
|
||||||
_mesa_printf("------------------------------\n");
|
_mesa_printf("------------------------------\n");
|
||||||
|
Reference in New Issue
Block a user