summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-10-30 08:22:45 +0000
committerBrian Paul <[email protected]>1999-10-30 08:22:45 +0000
commit12cc2bfff76a386533e9675e8ad03a698a2e7bf3 (patch)
tree51934e751e8447818cca026c05c9032b2d5b15c4 /src/mesa
parent3c14ec9b553f88a4cd4be5d8a564b54bbe81d2b4 (diff)
pixel pack/unpack ImageHeight and SkipImages was not initialized
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/context.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index ea66f135b6e..b269f5e8da1 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.16 1999/10/19 18:37:02 keithw Exp $ */
+/* $Id: context.c,v 1.17 1999/10/30 08:22:45 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1011,14 +1011,18 @@ static void initialize_context( GLcontext *ctx )
/* Pixel transfer */
ctx->Pack.Alignment = 4;
ctx->Pack.RowLength = 0;
+ ctx->Pack.ImageHeight = 0;
ctx->Pack.SkipPixels = 0;
ctx->Pack.SkipRows = 0;
+ ctx->Pack.SkipImages = 0;
ctx->Pack.SwapBytes = GL_FALSE;
ctx->Pack.LsbFirst = GL_FALSE;
ctx->Unpack.Alignment = 4;
ctx->Unpack.RowLength = 0;
+ ctx->Unpack.ImageHeight = 0;
ctx->Unpack.SkipPixels = 0;
ctx->Unpack.SkipRows = 0;
+ ctx->Unpack.SkipImages = 0;
ctx->Unpack.SwapBytes = GL_FALSE;
ctx->Unpack.LsbFirst = GL_FALSE;