summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-03-21 16:09:37 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-03-21 16:09:37 +0000
commit279d9e3ea7551332d5639b514e004ee66c37d08b (patch)
tree5206dc48598664fae7b098e37d0802cbb8758d55 /src/mesa/main
parentb7d076fc96ac27117421653a043d00a95f789d24 (diff)
made _mesa_native_packing const
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/image.c4
-rw-r--r--src/mesa/main/image.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 133f79ab29..2d880af181 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.22 2000/03/21 01:03:40 brianp Exp $ */
+/* $Id: image.c,v 1.23 2000/03/21 16:09:37 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -47,7 +47,7 @@
* from within display lists we have to be sure to set the current
* unpacking params to these values!
*/
-struct gl_pixelstore_attrib _mesa_native_packing = {
+const struct gl_pixelstore_attrib _mesa_native_packing = {
1, /* Alignment */
0, /* RowLength */
0, /* SkipPixels */
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index 77a65f9793..500fa7e3eb 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -1,4 +1,4 @@
-/* $Id: image.h,v 1.6 2000/03/21 01:03:40 brianp Exp $ */
+/* $Id: image.h,v 1.7 2000/03/21 16:09:38 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -32,7 +32,7 @@
#include "types.h"
-extern struct gl_pixelstore_attrib _mesa_native_packing;
+extern const struct gl_pixelstore_attrib _mesa_native_packing;
extern void