From 12cc2bfff76a386533e9675e8ad03a698a2e7bf3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 30 Oct 1999 08:22:45 +0000 Subject: [PATCH] pixel pack/unpack ImageHeight and SkipImages was not initialized --- src/mesa/main/context.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2