inserted static const in make_null_texture()
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 1 Mar 2000 23:28:20 +0000 (23:28 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 1 Mar 2000 23:28:20 +0000 (23:28 +0000)
src/mesa/main/teximage.c

index f2b40b8c4a6ee2782bc5a67672167837a042d3fa..035e88db0b5bb5c4b14b06b29a95dd0b34bc6e4f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: teximage.c,v 1.17 2000/02/21 16:34:21 brianp Exp $ */
+/* $Id: teximage.c,v 1.18 2000/03/01 23:28:20 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -585,7 +585,7 @@ make_null_texture( GLcontext *ctx, GLenum internalFormat,
     * interesting instead of leaving it indeterminate.
     */
    if (texImage->Data) {
-      char message[8][32] = {
+      static const char message[8][32] = {
          "   X   X  XXXXX   XXX     X    ",
          "   XX XX  X      X   X   X X   ",
          "   X X X  X      X      X   X  ",