made _mesa_native_packing const
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 21 Mar 2000 16:09:37 +0000 (16:09 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 21 Mar 2000 16:09:37 +0000 (16:09 +0000)
src/mesa/main/image.c
src/mesa/main/image.h

index 133f79ab29a9d76432e65d914b825011967686dc..2d880af18104dc44473236a55852a39c53b4795f 100644 (file)
@@ -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 */
index 77a65f97935b60c28bb6e3d6e8b816e819e10def..500fa7e3eb70d8af3c1e361c60e2a919878638a0 100644 (file)
@@ -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