summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/nvvertexec.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-24 15:41:39 +0000
committerBrian Paul <[email protected]>2003-11-24 15:41:39 +0000
commit8a299e78882f10b1895ad1af7bbbf778d20b7e33 (patch)
tree4d3b1b7d0a4451813fe4596479f978a4e4e91e72 /src/mesa/main/nvvertexec.c
parent7e86eb991b50e0f52e6a0404289ca73126da6414 (diff)
whitespace and comment changes
Diffstat (limited to 'src/mesa/main/nvvertexec.c')
-rw-r--r--src/mesa/main/nvvertexec.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/mesa/main/nvvertexec.c b/src/mesa/main/nvvertexec.c
index f3034ea6991..d73f82b9738 100644
--- a/src/mesa/main/nvvertexec.c
+++ b/src/mesa/main/nvvertexec.c
@@ -64,23 +64,20 @@ _mesa_init_vp_registers(GLcontext *ctx)
}
/* The program parameters aren't touched */
- /* XXX: This should be moved to glBegin() time, but its safe (and slow!)
- * here - Karl
- */
+ /* XXX: This should be moved to glBegin() time, but its safe (and slow!)
+ * here - Karl
+ */
if (ctx->VertexProgram.Current->Parameters) {
-
/* Grab the state */
_mesa_load_state_parameters(ctx, ctx->VertexProgram.Current->Parameters);
- /* And copy it into the program state */
+ /* And copy it into the program state */
for (i=0; i<ctx->VertexProgram.Current->Parameters->NumParameters; i++) {
MEMCPY(ctx->VertexProgram.Parameters[i],
- &ctx->VertexProgram.Current->Parameters->Parameters[i].Values,
- 4*sizeof(GLfloat));
+ &ctx->VertexProgram.Current->Parameters->Parameters[i].Values,
+ 4*sizeof(GLfloat));
}
-
}
-
}