From b365d286278a0864e771c17ba6fdec8c3a77689a Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Fri, 28 Jan 2005 11:59:37 +0000 Subject: [PATCH] Fix wrong comment. --- src/mesa/drivers/dri/r300/r300_vertexprog.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/dri/r300/r300_vertexprog.c b/src/mesa/drivers/dri/r300/r300_vertexprog.c index 50a12e680e0..dc769648069 100644 --- a/src/mesa/drivers/dri/r300/r300_vertexprog.c +++ b/src/mesa/drivers/dri/r300/r300_vertexprog.c @@ -14,10 +14,10 @@ static void r300BindProgram(GLcontext *ctx, GLenum target, struct program *prog) static struct program *r300NewProgram(GLcontext *ctx, GLenum target, GLuint id) { -r300ContextPtr rmesa = R300_CONTEXT(ctx); -struct r300_vertex_program *vp; -struct fragment_program *fp; -struct ati_fragment_shader *afs; + r300ContextPtr rmesa = R300_CONTEXT(ctx); + struct r300_vertex_program *vp; + struct fragment_program *fp; + struct ati_fragment_shader *afs; fprintf(stderr, "r300NewProgram, target=%d, id=%d\n", target, id); @@ -89,8 +89,8 @@ static void r300ProgramStringNotify(GLcontext *ctx, GLenum target, struct{ char *name; int opcode; - unsigned long ip; /* input reg index */ - unsigned long op; /* output reg index */ + unsigned long ip; /* number of input operands and flags */ + unsigned long op; }op_names[]={ OPN(ABS, 1, 1), OPN(ADD, 2, 1), -- 2.30.2