projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29c471a
)
fix negative indentation problem
author
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 16:08:36 +0000
(09:08 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 16:08:36 +0000
(09:08 -0700)
src/mesa/shader/prog_print.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_print.c
b/src/mesa/shader/prog_print.c
index 9560ffad7da3716184c84b8db50e33e35ddee669..95b62fcfb508ebb6b9b997e0a1fa276908f457ec 100644
(file)
--- a/
src/mesa/shader/prog_print.c
+++ b/
src/mesa/shader/prog_print.c
@@
-477,7
+477,7
@@
_mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent,
gl_prog_print_mode mode,
const struct gl_program *prog)
{
- GL
u
int i;
+ GLint i;
if (inst->Opcode == OPCODE_ELSE ||
inst->Opcode == OPCODE_ENDIF ||
@@
-485,7
+485,6
@@
_mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent,
inst->Opcode == OPCODE_ENDSUB) {
indent -= 3;
}
- assert(indent >= 0);
for (i = 0; i < indent; i++) {
_mesa_printf(" ");
}