From b673fc49b9d3a436c8fde79d1eb238afd72b55de Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 11 Jan 2004 16:48:14 +0000 Subject: fix vertex program debugger issues (Bug 874382) --- src/mesa/main/nvvertexec.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/nvvertexec.c') diff --git a/src/mesa/main/nvvertexec.c b/src/mesa/main/nvvertexec.c index 66b3363365..fd1519e9a8 100644 --- a/src/mesa/main/nvvertexec.c +++ b/src/mesa/main/nvvertexec.c @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 5.1 + * Version: 6.0 * - * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -382,9 +382,7 @@ _mesa_exec_vertex_program(GLcontext *ctx, const struct vertex_program *program) ctx->VertexProgram.Current->OutputsWritten |= 0x1; } - - - for (inst = program->Instructions; inst->Opcode != VP_OPCODE_END; inst++) { + for (inst = program->Instructions; /*inst->Opcode != VP_OPCODE_END*/; inst++) { if (ctx->VertexProgram.CallbackEnabled && ctx->VertexProgram.Callback) { -- cgit v1.2.3