summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/program.c4
-rw-r--r--src/mesa/shader/program.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c
index 3d5f648191..98daf7062f 100644
--- a/src/mesa/shader/program.c
+++ b/src/mesa/shader/program.c
@@ -1481,14 +1481,14 @@ _mesa_realloc_instructions(struct prog_instruction *oldInst,
}
/**
- * Copy an narray of program instructions.
+ * Copy an array of program instructions.
* \param dest pointer to destination.
* \param src pointer to source.
* \param n number of instructions to copy.
* \return pointer to destination.
*/
struct prog_instruction *
-_mesa_copy_instructions(struct prog_instruction *dest,
+_mesa_copy_instructions (struct prog_instruction *dest,
const struct prog_instruction *src, GLuint n)
{
return _mesa_memcpy (dest, src, n * sizeof (struct prog_instruction));
diff --git a/src/mesa/shader/program.h b/src/mesa/shader/program.h
index 6f5013df35..7746289621 100644
--- a/src/mesa/shader/program.h
+++ b/src/mesa/shader/program.h
@@ -129,7 +129,7 @@ _mesa_realloc_instructions(struct prog_instruction *oldInst,
GLuint numOldInst, GLuint numNewInst);
extern struct prog_instruction *
-_mesa_copy_instructions(struct prog_instruction *dest,
+_mesa_copy_instructions (struct prog_instruction *dest,
const struct prog_instruction *src, GLuint n);
/**